summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_str.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_str.py')
-rw-r--r--Lib/test/test_str.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_str.py b/Lib/test/test_str.py
index b9f4845..1295a8c 100644
--- a/Lib/test/test_str.py
+++ b/Lib/test/test_str.py
@@ -19,9 +19,7 @@ class StrTest(
self.assertRaises(OverflowError, '%c'.__mod__, 0x1234)
def test_main():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(StrTest))
- test_support.run_suite(suite)
+ test_support.run_unittest(StrTest)
if __name__ == "__main__":
test_main()