aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_codecmaps_tw.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_codecmaps_tw.py')
-rw-r--r--Lib/test/test_codecmaps_tw.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_codecmaps_tw.py b/Lib/test/test_codecmaps_tw.py
index 4d270804f09..9bf8340fb18 100644
--- a/Lib/test/test_codecmaps_tw.py
+++ b/Lib/test/test_codecmaps_tw.py
@@ -26,8 +26,5 @@ class TestCP950Map(multibytecodec_support.TestBase_Mapping,
(b"\xFFxy", "replace", "\ufffdxy"),
)
-def test_main():
- support.run_unittest(__name__)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()