commit | a172e2502c6f4a78b268838ca0c965bb7599f7ef | [log] [tgz] |
---|---|---|
author | Éric Araujo <merwok@netwok.org> | Wed Feb 02 16:58:43 2011 +0000 |
committer | Éric Araujo <merwok@netwok.org> | Wed Feb 02 16:58:43 2011 +0000 |
tree | eb9d995e588870e52807623faea836c39c6476df | |
parent | 07c35eb3b5e71c5cd343e5b74a7e9106d7ef831a [diff] [blame] |
Fix typo: BadZipFile exists in 3.2+ only, not older versions.
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py index c989bf0..34d0fbc 100644 --- a/Lib/test/test_zipfile.py +++ b/Lib/test/test_zipfile.py
@@ -909,7 +909,7 @@ zipf.close() try: zipf = zipfile.ZipFile(TESTFN, mode="r") - except zipfile.BadZipFile: + except zipfile.BadZipfile: self.fail("Unable to create empty ZIP file in 'w' mode") zipf = zipfile.ZipFile(TESTFN, mode="a")