aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio/tests/protoc_plugin/_python_plugin_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/grpcio/tests/protoc_plugin/_python_plugin_test.py')
-rw-r--r--src/python/grpcio/tests/protoc_plugin/_python_plugin_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio/tests/protoc_plugin/_python_plugin_test.py b/src/python/grpcio/tests/protoc_plugin/_python_plugin_test.py
index 1c9cbb0d0c..6cb37a2b55 100644
--- a/src/python/grpcio/tests/protoc_plugin/_python_plugin_test.py
+++ b/src/python/grpcio/tests/protoc_plugin/_python_plugin_test.py
@@ -173,7 +173,7 @@ def _CreateService(service_pb2, response_pb2, payload_pb2):
return servicer_methods.HalfDuplexCall(request_iter, context)
server = grpc.server(
- (), futures.ThreadPoolExecutor(max_workers=test_constants.POOL_SIZE))
+ futures.ThreadPoolExecutor(max_workers=test_constants.POOL_SIZE))
getattr(service_pb2, ADD_SERVICER_TO_SERVER_IDENTIFIER)(Servicer(), server)
port = server.add_insecure_port('[::]:0')
server.start()
@@ -197,7 +197,7 @@ def _CreateIncompleteService(service_pb2):
pass
server = grpc.server(
- (), futures.ThreadPoolExecutor(max_workers=test_constants.POOL_SIZE))
+ futures.ThreadPoolExecutor(max_workers=test_constants.POOL_SIZE))
getattr(service_pb2, ADD_SERVICER_TO_SERVER_IDENTIFIER)(Servicer(), server)
port = server.add_insecure_port('[::]:0')
server.start()