Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_timeout.py @ 28577:f301eaedde85 legacy-trunk
Avoid creating one of the TestSuite objects.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 11 Apr 2003 15:14:05 +0000 |
| parents | 2c8c2c6b2ab7 |
| children | 1741af48fd9f |
line wrap: on
line diff
--- a/Lib/test/test_timeout.py Fri Apr 11 03:05:56 2003 +0000 +++ b/Lib/test/test_timeout.py Fri Apr 11 15:14:05 2003 +0000 @@ -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)
