summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecmaps_cn.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_codecmaps_cn.py')
-rw-r--r--Lib/test/test_codecmaps_cn.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_codecmaps_cn.py b/Lib/test/test_codecmaps_cn.py
index 76632a2..8b84c14 100644
--- a/Lib/test/test_codecmaps_cn.py
+++ b/Lib/test/test_codecmaps_cn.py
@@ -25,8 +25,5 @@ class TestGB18030Map(multibytecodec_support.TestBase_Mapping,
'trunk/charset/data/xml/gb-18030-2000.xml'
-def test_main():
- support.run_unittest(__name__)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()