summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_string.py
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2015-04-13 20:11:34 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2015-04-13 20:11:34 (GMT)
commit65da9a87c543eec3126ced378464da0fc8cd7542 (patch)
treecbd250edf6901d8969f3554eb2bc619e9e1924a4 /Lib/test/test_string.py
parentae18f387e4d0dd0083dc579feef395a5cbf890ce (diff)
parent38c707e7e0322f9139bb51ad73ede1e3b46985ef (diff)
downloadcpython-65da9a87c543eec3126ced378464da0fc8cd7542.zip
cpython-65da9a87c543eec3126ced378464da0fc8cd7542.tar.gz
cpython-65da9a87c543eec3126ced378464da0fc8cd7542.tar.bz2
merge heads
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()