We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84aed85 commit d9d3ebdCopy full SHA for d9d3ebd
tests/test_dns.py
@@ -244,7 +244,7 @@ def test_getaddrinfo_close_loop(self):
244
try:
245
# Check that we have internet connection
246
socket.getaddrinfo('example.com', 80)
247
- except socket.error:
+ except OSError:
248
raise unittest.SkipTest
249
250
async def run():
uvloop/_testbase.py
@@ -260,7 +260,7 @@ def find_free_port(start_from=50000):
260
with sock:
261
262
sock.bind(('', port))
263
264
continue
265
else:
266
return port
0 commit comments