diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-12-02 18:04:37 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-12-02 18:04:37 (GMT) |
commit | a2816c2b11aeb24b232570b4073a9644bfdd82c7 (patch) | |
tree | d447b9f1b48bba68bf0b45b18d5c1ec313f2b86d /Lib/test/test_multibytecodec.py | |
parent | 2f560fa3009b8b6d4e64eec4c1e7d201b5ed7035 (diff) | |
download | cpython-a2816c2b11aeb24b232570b4073a9644bfdd82c7.zip cpython-a2816c2b11aeb24b232570b4073a9644bfdd82c7.tar.gz cpython-a2816c2b11aeb24b232570b4073a9644bfdd82c7.tar.bz2 |
more test to more general test file, so it can test more things
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 7b47cb5..feb7bd5 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: |