summaryrefslogtreecommitdiff
path: root/Lib/test/test_codecencodings_tw.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_codecencodings_tw.py')
-rw-r--r--Lib/test/test_codecencodings_tw.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_codecencodings_tw.py b/Lib/test/test_codecencodings_tw.py
index ea6e1c1623..9174296726 100644
--- a/Lib/test/test_codecencodings_tw.py
+++ b/Lib/test/test_codecencodings_tw.py
@@ -19,8 +19,5 @@ class Test_Big5(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()