mirror of
https://github.com/python/cpython.git
synced 2025-08-14 13:59:20 +00:00
Fix typos (#123775)
(cherry picked from commit 9017b95ff2
)
Co-authored-by: algonell <algonell@gmail.com>
This commit is contained in:
parent
917f2c8422
commit
8b16ec65a2
29 changed files with 36 additions and 36 deletions
|
@ -131,7 +131,7 @@ class TestLiterals(unittest.TestCase):
|
|||
self.assertEqual(exc.lineno, 1)
|
||||
self.assertEqual(exc.offset, 1)
|
||||
|
||||
# Check that the warning is raised ony once if there are syntax errors
|
||||
# Check that the warning is raised only once if there are syntax errors
|
||||
|
||||
with warnings.catch_warnings(record=True) as w:
|
||||
warnings.simplefilter('always', category=SyntaxWarning)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue