commit | 9dcbbea87867f38f7994dd96388266114ef0c162 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Apr 27 07:54:23 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Apr 27 07:54:23 2003 +0000 |
tree | 4dfcbbd65dcca3232918b6e30dde5625f83435b2 | |
parent | c23fb774772949b7861f91eec987b1cd414d5a3c [diff] [blame] |
Factor out common boilerplate for test_support
diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py index d9fb887..fe99b85 100644 --- a/Lib/test/test_bool.py +++ b/Lib/test/test_bool.py
@@ -331,9 +331,7 @@ self.assertEqual(cPickle.dumps(False, True), "I00\n.") def test_main(): - suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(BoolTest)) - test_support.run_suite(suite) + test_support.run_classtests(BoolTest) if __name__ == "__main__": test_main()