summaryrefslogtreecommitdiff
path: root/Lib/test/test_stringprep.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_stringprep.py')
-rw-r--r--Lib/test/test_stringprep.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_stringprep.py b/Lib/test/test_stringprep.py
index e763635efe..d4b4a13d0d 100644
--- a/Lib/test/test_stringprep.py
+++ b/Lib/test/test_stringprep.py
@@ -2,7 +2,6 @@
# Since we don't have them, this test checks only a few code points.
import unittest
-from test import support
from stringprep import *
@@ -89,8 +88,5 @@ class StringprepTests(unittest.TestCase):
# h.update(data)
# print p, h.hexdigest()
-def test_main():
- support.run_unittest(StringprepTests)
-
if __name__ == '__main__':
- test_main()
+ unittest.main()