mirror of
https://github.com/python/cpython.git
synced 2024-11-25 19:03:49 +08:00
Remove a test case which is no longer valid.
This commit is contained in:
parent
d2093f7793
commit
edbcc1332f
@ -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: ()})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user