From 3e9a9ae09d6fc9169b01cba3efd1ae03ab40b237 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 12 Jun 2013 21:25:59 -0400 Subject: Update various test modules to use unittest.main() for test discovery instead of manually listing tests for test.support.run_unittest(). --- Lib/test/test_asynchat.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Lib/test/test_asynchat.py') diff --git a/Lib/test/test_asynchat.py b/Lib/test/test_asynchat.py index b616f309de..f93a52d8c9 100644 --- a/Lib/test/test_asynchat.py +++ b/Lib/test/test_asynchat.py @@ -283,9 +283,5 @@ class TestFifo(unittest.TestCase): self.assertEqual(f.pop(), (0, None)) -def test_main(verbose=None): - support.run_unittest(TestAsynchat, TestAsynchat_WithPoll, - TestHelperFunctions, TestFifo) - if __name__ == "__main__": - test_main(verbose=True) + unittest.main() -- cgit v1.2.1