summaryrefslogtreecommitdiff
path: root/Lib/test/test_hexoct.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_hexoct.py')
-rw-r--r--Lib/test/test_hexoct.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_hexoct.py b/Lib/test/test_hexoct.py
index a14a2c2696..8a57906c8d 100644
--- a/Lib/test/test_hexoct.py
+++ b/Lib/test/test_hexoct.py
@@ -118,9 +118,7 @@ class TextHexOct(unittest.TestCase):
\n"""
def test_main():
- suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(TextHexOct))
- test_support.run_suite(suite)
+ test_support.run_unittest(TextHexOct)
if __name__ == "__main__":
test_main()