aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2018-04-18 23:34:54 -0700
committerGravatar Mehrdad Afshari <mehrdada@users.noreply.github.com>2018-04-19 10:39:38 -0700
commitbc947ada758e748468a9196cf871a4d5049ce419 (patch)
treeebb86ae05057517a69f82fe918209ca30e4b9e9e /src
parent4c87620da222bb9d145ada811e64dc5978be9982 (diff)
Eliminate unnecessary-lambda suppression
Diffstat (limited to 'src')
-rw-r--r--src/python/grpcio_tests/tests/unit/_compression_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_compression_test.py b/src/python/grpcio_tests/tests/unit/_compression_test.py
index 7550cd39ba..0b11f03adf 100644
--- a/src/python/grpcio_tests/tests/unit/_compression_test.py
+++ b/src/python/grpcio_tests/tests/unit/_compression_test.py
@@ -52,9 +52,9 @@ class _MethodHandler(grpc.RpcMethodHandler):
self.stream_unary = None
self.stream_stream = None
if self.request_streaming and self.response_streaming:
- self.stream_stream = lambda x, y: handle_stream(x, y)
+ self.stream_stream = handle_stream
elif not self.request_streaming and not self.response_streaming:
- self.unary_unary = lambda x, y: handle_unary(x, y)
+ self.unary_unary = handle_unary
class _GenericHandler(grpc.GenericRpcHandler):