summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_lzma.py2
-rw-r--r--Lib/test/test_pyexpat.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_lzma.py b/Lib/test/test_lzma.py
index 4669ee2651..20d85828e6 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 7f93bfb842..8ef391791f 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: