summaryrefslogtreecommitdiff
path: root/Lib/test/test_codecmaps_cn.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-07-01 19:55:04 -0500
committerZachary Ware <zachary.ware@gmail.com>2014-07-01 19:55:04 -0500
commitd9de794c232078c1c024aa117e16e7367dafce13 (patch)
tree81306a6145cea48c3d345b03967c070194e4a361 /Lib/test/test_codecmaps_cn.py
parent44f09ebd0f9914db8ad20d54a1d1f07164b95a1f (diff)
downloadcpython-git-d9de794c232078c1c024aa117e16e7367dafce13.tar.gz
Issue #18258: Fix test discovery for test_codecmaps_*.
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 76632a2435..8b84c14cc5 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()