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).
Showing
Please register or sign in to comment