]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #23696: Remove test on ZipImportError.__context__ because the context is
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 20 Mar 2015 12:48:36 +0000 (13:48 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 20 Mar 2015 12:48:36 +0000 (13:48 +0100)
commit57d516bd6bfd1ae9a316c376bc72a96c4fa40c9f
treecc4ea3f09eba9d2e57441e73a1f64dc6d4118ff9
parent03129230c925d862599025d70d088c967593c1f3
Issue #23696: Remove test on ZipImportError.__context__ because the context is
None on Windows.

When the file is not readable, the error occurs at open on UNIX. On Windows,
the error only occurs at the first operation on the open file. It would require
to many changes to set __context__ to an OSError for all file operations, for a
little benefit (__context__ is almost never used).
Lib/test/test_zipimport.py