diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-07-02 00:55:04 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-07-02 00:55:04 (GMT) |
commit | d9de794c232078c1c024aa117e16e7367dafce13 (patch) | |
tree | 81306a6145cea48c3d345b03967c070194e4a361 /Lib/test/multibytecodec_support.py | |
parent | 44f09ebd0f9914db8ad20d54a1d1f07164b95a1f (diff) | |
download | cpython-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.py | 3 |
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): |