From d9de794c232078c1c024aa117e16e7367dafce13 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 1 Jul 2014 19:55:04 -0500 Subject: Issue #18258: Fix test discovery for test_codecmaps_*. --- Lib/test/test_codecmaps_cn.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Lib/test/test_codecmaps_cn.py') 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() -- cgit v1.2.1