From f96b162b683543f076c67d97d1d86d38c3c215eb Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 29 Oct 2006 15:22:43 +0000 Subject: [PATCH] I thought I had already fixed this error in the test. --- Lib/test/test_codecs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py index e64e78102c9..62cd1637af6 100644 --- a/Lib/test/test_codecs.py +++ b/Lib/test/test_codecs.py @@ -916,7 +916,7 @@ class EncodedFileTest(unittest.TestCase): def test_basic(self): f = StringIO.StringIO('\xed\x95\x9c\n\xea\xb8\x80') ef = codecs.EncodedFile(f, 'utf-16-le', 'utf-8') - self.assertEquals(ef.read(), '\xff\xfe\\\xd5\n\x00\x00\xae') + self.assertEquals(ef.read(), '\\\xd5\n\x00\x00\xae') f = StringIO.StringIO() ef = codecs.EncodedFile(f, 'utf-8', 'latin1')