Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix typos in comment
  • Loading branch information
mdboom committed Aug 16, 2022
commit 1f90863e6a515b3defd3a0aa47c00bf995f12e60
6 changes: 3 additions & 3 deletions Lib/test/test_source_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ class UTF8ValidatorTest(unittest.TestCase):
@unittest.skipIf(not sys.platform.startswith("linux"),
"Too slow to run on non-Linux platforms")
def test_invalid_utf8(self):
# This is port of test_utf8_decode_invalid_sequences in test_unicode.py
# to exercise the separate utf8 validator in tokenize.c used when
# reading source files.
# This is a port of test_utf8_decode_invalid_sequences in
# test_unicode.py to exercise the separate utf8 validator in
# Parser/tokenizer.c used when reading source files.

# That file is written using low-level C file I/O, so the only way to
# test it is to write actual files to disk.
Expand Down