summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bool.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_bool.py')
-rw-r--r--Lib/test/test_bool.py4
1 files changed, 1 insertions, 3 deletions
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 @@ 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()