diff options
| author | Raymond Hettinger <python@rcn.com> | 2003-04-27 07:54:23 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2003-04-27 07:54:23 +0000 |
| commit | 9dcbbea87867f38f7994dd96388266114ef0c162 (patch) | |
| tree | 4dfcbbd65dcca3232918b6e30dde5625f83435b2 /Lib/test/test_bool.py | |
| parent | c23fb774772949b7861f91eec987b1cd414d5a3c (diff) | |
| download | cpython-git-9dcbbea87867f38f7994dd96388266114ef0c162.tar.gz | |
Factor out common boilerplate for test_support
Diffstat (limited to 'Lib/test/test_bool.py')
| -rw-r--r-- | Lib/test/test_bool.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_bool.py b/Lib/test/test_bool.py index d9fb887035..fe99b85aa5 100644 --- a/Lib/test/test_bool.py +++ b/Lib/test/test_bool.py @@ -331,9 +331,7 @@ class BoolTest(unittest.TestCase): 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() |
