Fix accidental non-breakable spaces (U+00A0).
This commit is contained in:
commit
d1938cdc16
@ -671,7 +671,7 @@ class FileTestCase(unittest.TestCase):
|
||||
|
||||
def test_read_truncated(self):
|
||||
# Drop stream footer: CRC (4 bytes), index size (4 bytes),
|
||||
# flags (2 bytes) and magic number (2 bytes).
|
||||
# flags (2 bytes) and magic number (2 bytes).
|
||||
truncated = COMPRESSED_XZ[:-12]
|
||||
with LZMAFile(BytesIO(truncated)) as f:
|
||||
self.assertRaises(EOFError, f.read)
|
||||
|
@ -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:
|
||||
|
@ -243,7 +243,7 @@ Library
|
||||
|
||||
- Issue #17073: Fix some integer overflows in sqlite3 module.
|
||||
|
||||
- Issue #17114: IDLE now uses non-strict config parser.
|
||||
- Issue #17114: IDLE now uses non-strict config parser.
|
||||
|
||||
- Issue #16723: httplib.HTTPResponse no longer marked closed when the connection
|
||||
is automatically closed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user