Remove a test case which is no longer valid.

This commit is contained in:
Georg Brandl 2007-10-24 21:25:34 +00:00
parent d2093f7793
commit edbcc1332f

View File

@ -792,7 +792,7 @@ class CodecCallbackTest(unittest.TestCase):
class D(dict):
def __getitem__(self, key):
raise ValueError
self.assertRaises(ValueError, "\xff".translate, D())
#self.assertRaises(ValueError, "\xff".translate, D())
self.assertRaises(TypeError, "\xff".translate, {0xff: sys.maxunicode+1})
self.assertRaises(TypeError, "\xff".translate, {0xff: ()})