Skip to content

Commit 212be93

Browse files
Fix flaky test_tcp_listener_same_port using a hardcoded port (#1206)
Follow-up to d0482f9.
1 parent bdb049c commit 212be93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_sockets.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ async def test_from_socket_not_bound(
10441044
None,
10451045
AddressFamily.AF_UNSPEC,
10461046
1 if socket.has_dualstack_ipv6() else 2,
1047-
54321,
1047+
None,
10481048
),
10491049
("localhost", AddressFamily.AF_UNSPEC, 2, None),
10501050
("localhost", AddressFamily.AF_INET, 1, None),

0 commit comments

Comments
 (0)