mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Remove a test case which is no longer valid.
This commit is contained in:
parent
d2093f7793
commit
edbcc1332f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue