From: Fred Drake Date: Fri, 11 Apr 2003 15:14:05 +0000 (+0000) Subject: Avoid creating one of the TestSuite objects. X-Git-Tag: v2.3c1~1223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=126f2b76b9413d861f3a8f7d70af67a634982e31;p=python Avoid creating one of the TestSuite objects. --- diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index 07c5372eea..d68484effd 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -187,8 +187,7 @@ class TimeoutTestCase(unittest.TestCase): 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)