summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_codecs.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-06-20 09:25:34 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2007-06-20 09:25:34 (GMT)
commit32a4c7141911c58f01afe7b89482dbd4ce4f817f (patch)
tree32b3b7a299117ed3c766716bdeaf7d2ab6e46f5f /Lib/test/test_codecs.py
parent31f72d72b1e0c772becbfa9bbd3ab1827c704726 (diff)
downloadcpython-32a4c7141911c58f01afe7b89482dbd4ce4f817f.zip
cpython-32a4c7141911c58f01afe7b89482dbd4ce4f817f.tar.gz
cpython-32a4c7141911c58f01afe7b89482dbd4ce4f817f.tar.bz2
Patch by Ron Adam: Don't use u prefix in unicode error messages
and remove u prefix from some comments in test_codecs.py.
Diffstat (limited to 'Lib/test/test_codecs.py')
-rw-r--r--Lib/test/test_codecs.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_codecs.py b/Lib/test/test_codecs.py
index 7a679b6..666f0df 100644
--- a/Lib/test/test_codecs.py
+++ b/Lib/test/test_codecs.py
@@ -459,10 +459,10 @@ class UTF8SigTest(ReadTest):
"",
"\ufeff", # Second BOM has been read and emitted
"\ufeff\x00", # "\x00" read and emitted
- "\ufeff\x00", # First byte of encoded u"\xff" read
- "\ufeff\x00\xff", # Second byte of encoded u"\xff" read
- "\ufeff\x00\xff", # First byte of encoded u"\u07ff" read
- "\ufeff\x00\xff\u07ff", # Second byte of encoded u"\u07ff" read
+ "\ufeff\x00", # First byte of encoded "\xff" read
+ "\ufeff\x00\xff", # Second byte of encoded "\xff" read
+ "\ufeff\x00\xff", # First byte of encoded "\u07ff" read
+ "\ufeff\x00\xff\u07ff", # Second byte of encoded "\u07ff" read
"\ufeff\x00\xff\u07ff",
"\ufeff\x00\xff\u07ff",
"\ufeff\x00\xff\u07ff\u0800",