summaryrefslogtreecommitdiff
path: root/Lib/test/test_codecencodings_hk.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_codecencodings_hk.py')
-rw-r--r--Lib/test/test_codecencodings_hk.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_codecencodings_hk.py b/Lib/test/test_codecencodings_hk.py
index 25c05b6048..bb9be11184 100644
--- a/Lib/test/test_codecencodings_hk.py
+++ b/Lib/test/test_codecencodings_hk.py
@@ -19,8 +19,5 @@ class Test_Big5HKSCS(multibytecodec_support.TestBase, unittest.TestCase):
(b"abc\x80\x80\xc1\xc4", "ignore", "abc\u8b10"),
)
-def test_main():
- support.run_unittest(__name__)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()