mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix accidental non-breakable spaces (U+00A0).
This commit is contained in:
parent
f1319d81f7
commit
1273dfc39c
2 changed files with 2 additions and 2 deletions
|
@ -600,7 +600,7 @@ class MalformedInputTest(unittest.TestCase):
|
|||
self.assertEqual(str(e), 'unclosed token: line 2, column 0')
|
||||
|
||||
def test2(self):
|
||||
# \xc2\x85 is UTF-8 encoded U+0085 (NEXT LINE)
|
||||
# \xc2\x85 is UTF-8 encoded U+0085 (NEXT LINE)
|
||||
xml = b"<?xml version\xc2\x85='1.0'?>\r\n"
|
||||
parser = expat.ParserCreate()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue