Patch by Ron Adam: Don't use u prefix in unicode error messages

and remove u prefix from some comments in test_codecs.py.
This commit is contained in:
Walter Dörwald 2007-06-20 09:25:34 +00:00
parent 31f72d72b1
commit 32a4c71419
3 changed files with 19 additions and 19 deletions

View file

@ -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",