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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035;p=python loosen test now that bytes are allowed --- diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py index a2c57eaf10..5f08f10606 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')