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_hk.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Lib/test/test_codecmaps_hk.py') diff --git a/Lib/test/test_codecmaps_hk.py b/Lib/test/test_codecmaps_hk.py index 9570af296c7..12aada19683 100644 --- a/Lib/test/test_codecmaps_hk.py +++ b/Lib/test/test_codecmaps_hk.py @@ -12,8 +12,5 @@ class TestBig5HKSCSMap(multibytecodec_support.TestBase_Mapping, encoding = 'big5hkscs' mapfileurl = 'http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT' -def test_main(): - support.run_unittest(__name__) - if __name__ == "__main__": - test_main() + unittest.main() -- cgit v1.2.3