summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-08 09:24:16 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-08 09:24:16 (GMT)
commit70ea7fa6e57b9a4529c19e15cfff66d8fcb58806 (patch)
tree85a0661fd4da485da8ae29f037cb12816f2eeaca
parent5546b002de96ce8e8d2104232e46ca16889c96cd (diff)
parent1273dfc39cb8e186030874455e1354d439b38472 (diff)
downloadcpython-70ea7fa6e57b9a4529c19e15cfff66d8fcb58806.zip
cpython-70ea7fa6e57b9a4529c19e15cfff66d8fcb58806.tar.gz
cpython-70ea7fa6e57b9a4529c19e15cfff66d8fcb58806.tar.bz2
Fix accidental non-breakable spaces (U+00A0).
-rw-r--r--Lib/test/test_lzma.py2
-rw-r--r--Lib/test/test_pyexpat.py2
-rw-r--r--Misc/NEWS2
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_lzma.py b/Lib/test/test_lzma.py
index 4669ee2..20d8582 100644
--- a/Lib/test/test_lzma.py
+++ b/Lib/test/test_lzma.py
@@ -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)
diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py
index 7f93bfb..8ef3917 100644
--- a/Lib/test/test_pyexpat.py
+++ b/Lib/test/test_pyexpat.py
@@ -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:
diff --git a/Misc/NEWS b/Misc/NEWS
index 39a79c2..080533a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -171,7 +171,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.