diff options
author | Mehrdad Afshari <mehrdada@users.noreply.github.com> | 2018-04-18 18:35:27 -0700 |
---|---|---|
committer | Mehrdad Afshari <mehrdada@users.noreply.github.com> | 2018-04-19 10:39:38 -0700 |
commit | a7926f9a4cb9ed635a64be0c37d4b9089819d445 (patch) | |
tree | 31cf3f6dc3c04ea83be634a28f35b48f5b01d5f4 | |
parent | 327b3fb6f851478db98895a454b9fa852e9e38fc (diff) |
Eliminate undefined-loop-variable suppression
-rw-r--r-- | .pylintrc-tests | 1 | ||||
-rw-r--r-- | src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.pylintrc-tests b/.pylintrc-tests index 045431ab46..20aaddd6e9 100644 --- a/.pylintrc-tests +++ b/.pylintrc-tests @@ -57,7 +57,6 @@ disable= wrong-import-position, wrong-import-order, non-iterator-returned, - undefined-loop-variable, # -- END OF TEST-SPECIFIC SUPPRESSIONS -- diff --git a/src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py b/src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py index 9045ff58a0..23f5ef605d 100644 --- a/src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py +++ b/src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py @@ -285,7 +285,7 @@ class ServerClientMixin(object): self.assertEqual(5, len(server_event.batch_operations)) found_server_op_types = set() for server_result in server_event.batch_operations: - self.assertNotIn(client_result.type(), found_server_op_types) + self.assertNotIn(server_result.type(), found_server_op_types) found_server_op_types.add(server_result.type()) if server_result.type() == cygrpc.OperationType.receive_message: self.assertEqual(REQUEST, server_result.message()) |