Eliminate undefined-loop-variable suppression

pull/15113/head
Mehrdad Afshari 7 years ago
parent 327b3fb6f8
commit a7926f9a4c
  1. 1
      .pylintrc-tests
  2. 2
      src/python/grpcio_tests/tests/unit/_cython/cygrpc_test.py

@ -57,7 +57,6 @@ disable=
wrong-import-position,
wrong-import-order,
non-iterator-returned,
undefined-loop-variable,
# -- END OF TEST-SPECIFIC SUPPRESSIONS --

@ -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())

Loading…
Cancel
Save