Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
lol typo
  • Loading branch information
gpshead committed Feb 14, 2023
commit 5bfdda4f492cb874296dbcc7471acf6df28d1677
2 changes: 1 addition & 1 deletion Lib/test/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,7 @@ def test_getaddrinfo_int_port_overflow(self):
# prior to 3.12 did for ints outside of a [LONG_MIN, LONG_MAX] range.
# Leave the error up to the underlying string based platform C API.

from import _testcapi import ULONG_MAX, LONG_MAX, LONG_MIN
from _testcapi import ULONG_MAX, LONG_MAX, LONG_MIN
try:
socket.getaddrinfo(None, ULONG_MAX + 1)
except OverflowError:
Expand Down