diff --git a/.pylintrc-tests b/.pylintrc-tests index 045431ab460..20aaddd6e91 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 9045ff58a0f..23f5ef605dd 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())