commit | e6eafa2ade22dc687eee78374fa93d4b9ab7a2c1 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Fri Jun 10 16:32:54 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri Jun 10 16:32:54 2011 +0200 |
tree | b723224da556f75fbfe3bb629d300edab605bdd6 | |
parent | 721bb33e3be644eca0f99b7e11bf183ff84a88fd [diff] |
Issue #10801: Fix test_unicode_filenames() of test_zipfile Just try to open files from the ZIP for reading, don't extract them to avoid UnicodeEncodeError if the filename is not encodable to the filesystem encoding (e.g. ASCII locale encoding).