diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-12-02 12:37:04 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-12-02 12:37:04 -0500 |
commit | 2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035 (patch) | |
tree | 8373c3806de62f3d05419e0a44d7c6f4cdd07301 | |
parent | 78f7e3a8dc999114c6863754b0c72ad5a9ec93eb (diff) | |
download | cpython-git-2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035.tar.gz |
loosen test now that bytes are allowed
-rw-r--r-- | 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 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') |