commit | 126f2b76b9413d861f3a8f7d70af67a634982e31 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri Apr 11 15:14:05 2003 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri Apr 11 15:14:05 2003 +0000 |
tree | 6a3c61563964374daec5b852dac72234606b450f | |
parent | 4ec6824896e22637a421cb99fdde694f0a1cdbc5 [diff] [blame] |
Avoid creating one of the TestSuite objects.
diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index 07c5372..d68484e 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py
@@ -187,8 +187,7 @@ def test_main(): test_support.requires('network') - suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(CreationTestCase)) + suite = unittest.makeSuite(CreationTestCase) suite.addTest(unittest.makeSuite(TimeoutTestCase)) test_support.run_suite(suite)