[3.12] Fix typos (#123775) (#123867)

Fix typos (#123775)

(cherry picked from commit 9017b95ff2)

Co-authored-by: algonell <algonell@gmail.com>
This commit is contained in:
Victor Stinner 2024-09-09 15:22:13 +02:00 committed by GitHub
parent 917f2c8422
commit 8b16ec65a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
29 changed files with 36 additions and 36 deletions

View file

@ -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)