commit | 3e9a9ae09d6fc9169b01cba3efd1ae03ab40b237 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Wed Jun 12 21:25:59 2013 -0400 |
committer | Brett Cannon <brett@python.org> | Wed Jun 12 21:25:59 2013 -0400 |
tree | 5ef61b4c8c1b5bfaaafb1e1e0cd03afe7971caf7 | |
parent | e382b5868a4daca614589270b6b3fe5c50059986 [diff] [blame] |
Update various test modules to use unittest.main() for test discovery instead of manually listing tests for test.support.run_unittest().
diff --git a/Lib/test/test_sched.py b/Lib/test/test_sched.py index 1fe6ad4..853b4d8 100644 --- a/Lib/test/test_sched.py +++ b/Lib/test/test_sched.py
@@ -197,8 +197,5 @@ self.assertEqual(l, []) -def test_main(): - support.run_unittest(TestCase) - if __name__ == "__main__": - test_main() + unittest.main()