Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r59346:b3899728d46c
Date: 2012-12-05 17:26 -0800
http://bitbucket.org/pypy/pypy/changeset/b3899728d46c/

Log:    bytes are valid results for encoding error handlers refs
        http://bugs.python.org/issue16585

diff --git a/lib-python/3.2/test/test_multibytecodec_support.py 
b/lib-python/3.2/test/test_multibytecodec_support.py
--- a/lib-python/3.2/test/test_multibytecodec_support.py
+++ b/lib-python/3.2/test/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')
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to