summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-06-12 23:57:19 (GMT)
committerBrett Cannon <brett@python.org>2013-06-12 23:57:19 (GMT)
commitd5b4e1d891e8ed8c28833d32faff3519cd403b94 (patch)
tree8dd67ab5914b769802a4ef835bbc85da5c6f1c6f /Lib/test
parentb1611e2772af2c6eb73a6b3d04b3dbb43308fa6c (diff)
downloadcpython-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.py8
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()