Avoid creating one of the TestSuite objects.

This commit is contained in:
Fred Drake 2003-04-11 15:14:05 +00:00
parent 4ec6824896
commit 126f2b76b9
1 changed files with 1 additions and 2 deletions

View File

@ -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)