diff options
Diffstat (limited to 'Lib/test/test_urllibnet.py')
-rw-r--r-- | Lib/test/test_urllibnet.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py index 3af2491..03728e1 100644 --- a/Lib/test/test_urllibnet.py +++ b/Lib/test/test_urllibnet.py @@ -23,10 +23,7 @@ class URLTimeoutTest(unittest.TestCase): def test_main(): test_support.requires('network') - - suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(URLTimeoutTest)) - test_support.run_suite(suite) + test_support.run_unittest(URLTimeoutTest) if __name__ == "__main__": test_main() |