From db5bd23e360c5107865a54df83ad8e53b8daa832 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Fri, 10 Jan 2020 17:15:32 -0800 Subject: [PATCH] Remove the errno.ENOSR form unrecoverable error list --- src/python/grpcio_tests/tests/unit/framework/common/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',