summaryrefslogtreecommitdiffstats
path: root/Lib/test/multibytecodec_support.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/multibytecodec_support.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/multibytecodec_support.py')
-rw-r--r--Lib/test/multibytecodec_support.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py
index 51ca3bd..51f5b54 100644
--- a/Lib/test/multibytecodec_support.py
+++ b/Lib/test/multibytecodec_support.py
@@ -277,8 +277,7 @@ class TestBase_Mapping(unittest.TestCase):
supmaps = []
codectests = []
- def __init__(self, *args, **kw):
- unittest.TestCase.__init__(self, *args, **kw)
+ def setUp(self):
try:
self.open_mapping_file().close() # test it to report the error early
except (OSError, HTTPException):