[Python-checkins] cpython (3.3): loosen test now that bytes are allowed

benjamin.peterson python-checkins at python.org
Sun Dec 2 18:37:16 CET 2012


http://hg.python.org/cpython/rev/72623edae4df
changeset:   80697:72623edae4df
branch:      3.3
parent:      80694:221858c0d3b1
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Dec 02 12:37:04 2012 -0500
summary:
  loosen test now that bytes are allowed

files:
  Lib/test/multibytecodec_support.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py
--- a/Lib/test/multibytecodec_support.py
+++ b/Lib/test/multibytecodec_support.py
@@ -113,7 +113,7 @@
             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')
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list