diff options
Diffstat (limited to 'Lib/test/test_codeccallbacks.py')
-rw-r--r-- | Lib/test/test_codeccallbacks.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_codeccallbacks.py b/Lib/test/test_codeccallbacks.py index 5c7243a..134d86c 100644 --- a/Lib/test/test_codeccallbacks.py +++ b/Lib/test/test_codeccallbacks.py @@ -659,9 +659,7 @@ class CodecCallbackTest(unittest.TestCase): self.assertRaises(TypeError, u"\xff".translate, {0xff: ()}) def test_main(): - suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(CodecCallbackTest)) - test.test_support.run_suite(suite) + test.test_support.run_unittest(CodecCallbackTest) if __name__ == "__main__": test_main() |