]> granicus.if.org Git - python/commitdiff
I thought I had already fixed this error in the test.
authorGeorg Brandl <georg@python.org>
Sun, 29 Oct 2006 15:22:43 +0000 (15:22 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 29 Oct 2006 15:22:43 +0000 (15:22 +0000)
Lib/test/test_codecs.py

index e64e78102c911a0c2aa2b3e6417cf6077d8ecba8..62cd1637af6e564f4a7fb497e03530951389460f 100644 (file)
@@ -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')