Move test_zipfile to unittest.main()
This commit is contained in:
parent
b1611e2772
commit
d5b4e1d891
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue