summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_string.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_string.py')
-rw-r--r--Lib/test/test_string.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_string.py b/Lib/test/test_string.py
index f8731b8..85b5434 100644
--- a/Lib/test/test_string.py
+++ b/Lib/test/test_string.py
@@ -1,5 +1,4 @@
import unittest, string
-from test import support
class ModuleTest(unittest.TestCase):
@@ -182,8 +181,5 @@ class ModuleTest(unittest.TestCase):
self.assertIn("recursion", str(err.exception))
-def test_main():
- support.run_unittest(ModuleTest)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()