diff options
author | Xie Yanbo <xieyanbo@gmail.com> | 2024-08-12 04:16:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 04:16:41 (GMT) |
commit | 253c6a0b2f88b3327b7113860b99d665346fe43c (patch) | |
tree | b7607792341c71e620151c1c9e4ad8ec6a7dbda5 /Lib/test/support | |
parent | 9375b9ca3a4998678ba74ff5c77ed540a4dcf887 (diff) | |
download | cpython-253c6a0b2f88b3327b7113860b99d665346fe43c.zip cpython-253c6a0b2f88b3327b7113860b99d665346fe43c.tar.gz cpython-253c6a0b2f88b3327b7113860b99d665346fe43c.tar.bz2 |
Fix typos in comments and test code (#122846)
Diffstat (limited to 'Lib/test/support')
-rw-r--r-- | Lib/test/support/asynchat.py | 2 | ||||
-rw-r--r-- | Lib/test/support/asyncore.py | 2 | ||||
-rw-r--r-- | Lib/test/support/bytecode_helper.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/support/asynchat.py b/Lib/test/support/asynchat.py index 38c47a1..a8c6b28 100644 --- a/Lib/test/support/asynchat.py +++ b/Lib/test/support/asynchat.py @@ -1,5 +1,5 @@ # TODO: This module was deprecated and removed from CPython 3.12 -# Now it is a test-only helper. Any attempts to rewrite exising tests that +# Now it is a test-only helper. Any attempts to rewrite existing tests that # are using this module and remove it completely are appreciated! # See: https://github.com/python/cpython/issues/72719 diff --git a/Lib/test/support/asyncore.py b/Lib/test/support/asyncore.py index b397aca..870e428 100644 --- a/Lib/test/support/asyncore.py +++ b/Lib/test/support/asyncore.py @@ -1,5 +1,5 @@ # TODO: This module was deprecated and removed from CPython 3.12 -# Now it is a test-only helper. Any attempts to rewrite exising tests that +# Now it is a test-only helper. Any attempts to rewrite existing tests that # are using this module and remove it completely are appreciated! # See: https://github.com/python/cpython/issues/72719 diff --git a/Lib/test/support/bytecode_helper.py b/Lib/test/support/bytecode_helper.py index 85bcd1f..f6426c3 100644 --- a/Lib/test/support/bytecode_helper.py +++ b/Lib/test/support/bytecode_helper.py @@ -71,7 +71,7 @@ class CompilationStepTestCase(unittest.TestCase): def assertInstructionsMatch(self, actual_seq, expected): # get an InstructionSequence and an expected list, where each - # entry is a label or an instruction tuple. Construct an expcted + # entry is a label or an instruction tuple. Construct an expected # instruction sequence and compare with the one given. self.assertIsInstance(expected, list) |