summaryrefslogtreecommitdiffstats
path: root/Lib/test/multibytecodec_support.py
diff options
context:
space:
mode:
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):