diff options
author | Brett Cannon <brett@python.org> | 2013-06-12 23:57:19 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-06-12 23:57:19 (GMT) |
commit | d5b4e1d891e8ed8c28833d32faff3519cd403b94 (patch) | |
tree | 8dd67ab5914b769802a4ef835bbc85da5c6f1c6f /Lib/test | |
parent | b1611e2772af2c6eb73a6b3d04b3dbb43308fa6c (diff) | |
download | cpython-d5b4e1d891e8ed8c28833d32faff3519cd403b94.zip cpython-d5b4e1d891e8ed8c28833d32faff3519cd403b94.tar.gz cpython-d5b4e1d891e8ed8c28833d32faff3519cd403b94.tar.bz2 |
Move test_zipfile to unittest.main()
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_zipfile.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py index 529f7b8..188a307 100644 --- a/Lib/test/test_zipfile.py +++ b/Lib/test/test_zipfile.py @@ -1911,11 +1911,5 @@ class UniversalNewlineTests(unittest.TestCase): unlink(TESTFN2) -def test_main(): - run_unittest(TestsWithSourceFile, TestZip64InSmallFiles, OtherTests, - PyZipFileTests, DecryptionTests, TestsWithMultipleOpens, - TestWithDirectory, UniversalNewlineTests, - TestsWithRandomBinaryFiles) - if __name__ == "__main__": - test_main() + unittest.main() |