summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_timeout.py3
1 files changed, 1 insertions, 2 deletions
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 @@ 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)