summaryrefslogtreecommitdiff
path: root/Lib/test/test_lzma.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-26 05:35:26 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-05-26 05:35:26 +0000
commit46f50726a0047ae81d478c3a206f587b8f35ed08 (patch)
tree2046fa568e0abebe8f055b30fbbd4585a429a708 /Lib/test/test_lzma.py
parenteb9aca3c071aab925831a389ab26816c170dc159 (diff)
downloadcpython-git-46f50726a0047ae81d478c3a206f587b8f35ed08.tar.gz
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
Diffstat (limited to 'Lib/test/test_lzma.py')
-rw-r--r--Lib/test/test_lzma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_lzma.py b/Lib/test/test_lzma.py
index 2d39099f91..6c698e2f0e 100644
--- a/Lib/test/test_lzma.py
+++ b/Lib/test/test_lzma.py
@@ -1211,7 +1211,7 @@ class OpenTestCase(unittest.TestCase):
self.assertEqual(f.read(), uncompressed)
def test_encoding_error_handler(self):
- # Test wih non-default encoding error handler.
+ # Test with non-default encoding error handler.
with BytesIO(lzma.compress(b"foo\xffbar")) as bio:
with lzma.open(bio, "rt", encoding="ascii", errors="ignore") as f:
self.assertEqual(f.read(), "foobar")