Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5b4e1d

Browse files
committed
Move test_zipfile to unittest.main()
1 parent b1611e2 commit d5b4e1d

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

Lib/test/test_zipfile.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,11 +1911,5 @@ def tearDown(self):
19111911
unlink(TESTFN2)
19121912

19131913

1914-
def test_main():
1915-
run_unittest(TestsWithSourceFile, TestZip64InSmallFiles, OtherTests,
1916-
PyZipFileTests, DecryptionTests, TestsWithMultipleOpens,
1917-
TestWithDirectory, UniversalNewlineTests,
1918-
TestsWithRandomBinaryFiles)
1919-
19201914
if __name__ == "__main__":
1921-
test_main()
1915+
unittest.main()

0 commit comments

Comments
 (0)