summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecmaps_hk.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-07-02 00:55:04 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-07-02 00:55:04 (GMT)
commitd9de794c232078c1c024aa117e16e7367dafce13 (patch)
tree81306a6145cea48c3d345b03967c070194e4a361 /Lib/test/test_codecmaps_hk.py
parent44f09ebd0f9914db8ad20d54a1d1f07164b95a1f (diff)
downloadcpython-d9de794c232078c1c024aa117e16e7367dafce13.zip
cpython-d9de794c232078c1c024aa117e16e7367dafce13.tar.gz
cpython-d9de794c232078c1c024aa117e16e7367dafce13.tar.bz2
Issue #18258: Fix test discovery for test_codecmaps_*.
Diffstat (limited to 'Lib/test/test_codecmaps_hk.py')
-rw-r--r--Lib/test/test_codecmaps_hk.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_codecmaps_hk.py b/Lib/test/test_codecmaps_hk.py
index 9570af2..12aada1 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()