Update various test modules to use unittest.main() for test discovery

instead of manually listing tests for test.support.run_unittest().
This commit is contained in:
Brett Cannon 2013-06-12 21:25:59 -04:00
parent e382b5868a
commit 3e9a9ae09d
18 changed files with 24 additions and 108 deletions

View file

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