[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

@ -1631,7 +1631,7 @@ class GeneralModuleTests(unittest.TestCase):
try:
socket.getaddrinfo(None, ULONG_MAX + 1, type=socket.SOCK_STREAM)
except OverflowError:
# Platforms differ as to what values consitute a getaddrinfo() error
# Platforms differ as to what values constitute a getaddrinfo() error
# return. Some fail for LONG_MAX+1, others ULONG_MAX+1, and Windows
# silently accepts such huge "port" aka "service" numeric values.
self.fail("Either no error or socket.gaierror expected.")