diff options
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index feef540..0e61c6f 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -247,9 +247,7 @@ class SysModuleTest(unittest.TestCase): self.assert_(isinstance(vi[4], int)) def test_main(): - suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(SysModuleTest)) - test.test_support.run_suite(suite) + test.test_support.run_unittest(SysModuleTest) if __name__ == "__main__": test_main() |