summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecmaps_tw.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_tw.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_tw.py')
-rw-r--r--Lib/test/test_codecmaps_tw.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_codecmaps_tw.py b/Lib/test/test_codecmaps_tw.py
index 4d27080..9bf8340 100644
--- a/Lib/test/test_codecmaps_tw.py
+++ b/Lib/test/test_codecmaps_tw.py
@@ -26,8 +26,5 @@ class TestCP950Map(multibytecodec_support.TestBase_Mapping,
(b"\xFFxy", "replace", "\ufffdxy"),
)
-def test_main():
- support.run_unittest(__name__)
-
if __name__ == "__main__":
- test_main()
+ unittest.main()