summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_textwrap.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_textwrap.py')
-rw-r--r--Lib/test/test_textwrap.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_textwrap.py b/Lib/test/test_textwrap.py
index b1cee30..b8964dc 100644
--- a/Lib/test/test_textwrap.py
+++ b/Lib/test/test_textwrap.py
@@ -352,11 +352,7 @@ some (including a hanging indent).'''
def test_main():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(WrapTestCase))
- suite.addTest(unittest.makeSuite(LongWordTestCase))
- suite.addTest(unittest.makeSuite(IndentTestCases))
- test_support.run_suite(suite)
+ test_support.run_unittest(WrapTestCase, LongWordTestCase, IndentTestCases)
if __name__ == '__main__':
test_main()