diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-12-02 13:04:44 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-12-02 13:04:44 -0500 |
commit | 181e20a6fc178f97741eef1176f660ad5447ea8b (patch) | |
tree | f46ed33a18de3de0ff1a4843eddad15680ec0747 /Lib/test/test_multibytecodec.py | |
parent | 661c346ab34830c607a2bac92d21e25f47c3288d (diff) | |
parent | a2816c2b11aeb24b232570b4073a9644bfdd82c7 (diff) | |
download | cpython-git-181e20a6fc178f97741eef1176f660ad5447ea8b.tar.gz |
merge 3.3
Diffstat (limited to 'Lib/test/test_multibytecodec.py')
-rw-r--r-- | Lib/test/test_multibytecodec.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_multibytecodec.py b/Lib/test/test_multibytecodec.py index 7b47cb50e8..feb7bd595a 100644 --- a/Lib/test/test_multibytecodec.py +++ b/Lib/test/test_multibytecodec.py @@ -45,10 +45,6 @@ class Test_MultibyteCodec(unittest.TestCase): self.assertRaises(IndexError, dec, b'apple\x92ham\x93spam', 'test.cjktest') - def test_errorhandler_returns_bytes(self): - enc = "\u30fb\udc80".encode('gb18030', 'surrogateescape') - self.assertEqual(enc, b'\x819\xa79\x80') - def test_codingspec(self): try: for enc in ALL_CJKENCODINGS: |