summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-12-02 17:37:04 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-12-02 17:37:04 (GMT)
commit2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035 (patch)
tree8373c3806de62f3d05419e0a44d7c6f4cdd07301 /Lib
parent78f7e3a8dc999114c6863754b0c72ad5a9ec93eb (diff)
downloadcpython-2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035.zip
cpython-2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035.tar.gz
cpython-2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035.tar.bz2
loosen test now that bytes are allowed
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/multibytecodec_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/multibytecodec_support.py b/Lib/test/multibytecodec_support.py
index a2c57ea..5f08f10 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')