[Python-checkins] r52531 - python/branches/release25-maint/Lib/test/test_codecs.py

georg.brandl python-checkins at python.org
Sun Oct 29 16:22:44 CET 2006


Author: georg.brandl
Date: Sun Oct 29 16:22:43 2006
New Revision: 52531
Modified:
 python/branches/release25-maint/Lib/test/test_codecs.py
Log:
I thought I had already fixed this error in the test.
Modified: python/branches/release25-maint/Lib/test/test_codecs.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_codecs.py	(original)
+++ python/branches/release25-maint/Lib/test/test_codecs.py	Sun Oct 29 16:22:43 2006
@@ -916,7 +916,7 @@
 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')


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /