diff options
Diffstat (limited to 'Lib/test/test_filecmp.py')
-rw-r--r-- | Lib/test/test_filecmp.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_filecmp.py b/Lib/test/test_filecmp.py index 282cba6..0e5f297 100644 --- a/Lib/test/test_filecmp.py +++ b/Lib/test/test_filecmp.py @@ -119,10 +119,7 @@ class DirCompareTestCase(unittest.TestCase): def test_main(): - suite = unittest.TestSuite() - for cls in FileCompareTestCase, DirCompareTestCase: - suite.addTest(unittest.makeSuite(cls)) - test_support.run_suite(suite) + test_support.run_unittest(FileCompareTestCase, DirCompareTestCase) if __name__ == "__main__": test_main() |