changeset 46327 | 85c0c7145f8e |
parent 46326 | 3e23794b9e1c |
child 46384 | 7bb31c367847 |
--- a/tests/run-tests.py Mon Jan 18 00:50:01 2021 -0500 +++ b/tests/run-tests.py Mon Jan 18 01:15:10 2021 -0500 @@ -260,7 +260,9 @@ s.bind(('localhost', port)) return True except socket.error as exc: - if exc.errno not in ( + if os.name == 'nt' and exc.errno == errno.WSAEACCES: + return False + elif exc.errno not in ( errno.EADDRINUSE, errno.EADDRNOTAVAIL, errno.EPROTONOSUPPORT,