diff --git a/src/python/grpcio_tests/tests/unit/framework/common/__init__.py b/src/python/grpcio_tests/tests/unit/framework/common/__init__.py index 74722169813..4153812391e 100644 --- a/src/python/grpcio_tests/tests/unit/framework/common/__init__.py +++ b/src/python/grpcio_tests/tests/unit/framework/common/__init__.py @@ -18,7 +18,7 @@ import socket import errno _DEFAULT_SOCK_OPTION = socket.SO_REUSEADDR if os.name == 'nt' else socket.SO_REUSEPORT -_UNRECOVERABLE_ERRNOS = (errno.EADDRINUSE, errno.ENOSR) +_UNRECOVERABLE_ERRNOS = (errno.EADDRINUSE,) def get_socket(bind_address='localhost',