mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
This commit is contained in:
parent
eb9aca3c07
commit
46f50726a0
67 changed files with 241 additions and 241 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue