mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +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
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue