From: Benjamin Peterson Date: Sun, 2 Dec 2012 17:37:04 +0000 (-0500) Subject: loosen test now that bytes are allowed X-Git-Tag: v3.3.1rc1~570 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035;p=thirdparty%2FPython%2Fcpython.git loosen test now that bytes are allowed --- diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py index a2c57eaf10cd..5f08f1060608 100644 --- a/Lib/test/multibytecodec_support.py +++ b/Lib/test/multibytecodec_support.py @@ -113,7 +113,7 @@ class TestBase: return (ret, exc.end) codecs.register_error("test.cjktest", myreplace) - for ret in ([1, 2, 3], [], None, object(), b'string', b''): + for ret in ([1, 2, 3], [], None, object()): self.assertRaises(TypeError, self.encode, self.unmappedunicode, 'test.cjktest')