From: Georg Brandl Date: Wed, 24 Oct 2007 21:25:34 +0000 (+0000) Subject: Remove a test case which is no longer valid. X-Git-Tag: v3.0a2~278 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=edbcc1332f9d8e09fc7f511b6122c06b8dbd49c5;p=thirdparty%2FPython%2Fcpython.git Remove a test case which is no longer valid. --- diff --git a/Lib/test/test_codeccallbacks.py b/Lib/test/test_codeccallbacks.py index 0256eb63ec2d..9cf43a5b728a 100644 --- a/Lib/test/test_codeccallbacks.py +++ b/Lib/test/test_codeccallbacks.py @@ -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: ()})