summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unicodedata.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_unicodedata.py')
-rw-r--r--Lib/test/test_unicodedata.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py
index a3a5fbc..61b4ffb 100644
--- a/Lib/test/test_unicodedata.py
+++ b/Lib/test/test_unicodedata.py
@@ -203,11 +203,11 @@ class UnicodeMiscTest(UnicodeDatabaseTest):
self.assert_(count >= 10) # should have tested at least the ASCII digits
def test_main():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(UnicodeMiscTest))
- suite.addTest(unittest.makeSuite(UnicodeMethodsTest))
- suite.addTest(unittest.makeSuite(UnicodeFunctionsTest))
- test.test_support.run_suite(suite)
+ test.test_support.run_unittest(
+ UnicodeMiscTest,
+ UnicodeMethodsTest,
+ UnicodeFunctionsTest
+ )
if __name__ == "__main__":
test_main()