summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-10-29 15:22:43 +0000
committerGeorg Brandl <georg@python.org>2006-10-29 15:22:43 +0000
commitf96b162b683543f076c67d97d1d86d38c3c215eb (patch)
tree5fb5b00ce712d9ee9b88abb6edd68ad64c964800
parentc68d2cc3f2950d8132ea83bcf2c9fc1359e99a4d (diff)
downloadcpython-git-f96b162b683543f076c67d97d1d86d38c3c215eb.tar.gz
I thought I had already fixed this error in the test.
-rw-r--r--Lib/test/test_codecs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
index e64e78102c..62cd1637af 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')