diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-01-18 20:29:55 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-01-18 20:29:55 (GMT) |
commit | 58eb11cf62dd04ccc2c364b62fd51b4265e2e203 (patch) | |
tree | 6b4639f640391b3d40332ee045dba325c63a920d /Lib/test/test_codecencodings_cn.py | |
parent | 5303a968080bdb2690eaab89495ae51939fa6397 (diff) | |
download | cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.zip cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.tar.gz cpython-58eb11cf62dd04ccc2c364b62fd51b4265e2e203.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_codecencodings_cn.py')
-rw-r--r-- | Lib/test/test_codecencodings_cn.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_codecencodings_cn.py b/Lib/test/test_codecencodings_cn.py index 3960c9c..269e00a 100644 --- a/Lib/test/test_codecencodings_cn.py +++ b/Lib/test/test_codecencodings_cn.py @@ -27,8 +27,8 @@ class Test_GBK(test_multibytecodec_support.TestBase, unittest.TestCase): tstring = test_multibytecodec_support.load_teststring('gbk') codectests = ( # invalid bytes - ("abc\x80\x80\xc1\xc4", "strict", None), - ("abc\xc8", "strict", None), + ("abc\x80\x80\xc1\xc4", "strict", None), + ("abc\xc8", "strict", None), ("abc\x80\x80\xc1\xc4", "replace", u"abc\ufffd\u804a"), ("abc\x80\x80\xc1\xc4\xc8", "replace", u"abc\ufffd\u804a\ufffd"), ("abc\x80\x80\xc1\xc4", "ignore", u"abc\u804a"), @@ -58,4 +58,3 @@ def test_main(): if __name__ == "__main__": test_main() - |