mirror of
https://github.com/python/cpython.git
synced 2025-10-15 03:10:29 +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):
|
class D(dict):
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
raise ValueError
|
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: sys.maxunicode+1})
|
||||||
self.assertRaises(TypeError, "\xff".translate, {0xff: ()})
|
self.assertRaises(TypeError, "\xff".translate, {0xff: ()})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue