mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
31f72d72b1
commit
32a4c71419
3 changed files with 19 additions and 19 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue