Issue #18258: Fix test discovery for test_codecmaps_*.

This commit is contained in:
Zachary Ware 2014-07-01 19:55:04 -05:00
parent 44f09ebd0f
commit d9de794c23
6 changed files with 6 additions and 22 deletions

View file

@ -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):