aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar Mehrdad Afshari <mmx@google.com>2017-03-23 10:27:30 -0700
committerGravatar Mehrdad Afshari <mmx@google.com>2017-03-23 10:27:30 -0700
commit02735941e41a40702e5e01619697afddb8b1ac2f (patch)
tree63a6724dcba688df17b709e3a3c235041b9b9066 /src/python
parent626efa67f0101af6bb4f6505b0eef848b148585a (diff)
Add pylint comment to justify unused import
Diffstat (limited to 'src/python')
-rw-r--r--src/python/grpcio_tests/tests/reflection/_reflection_servicer_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio_tests/tests/reflection/_reflection_servicer_test.py b/src/python/grpcio_tests/tests/reflection/_reflection_servicer_test.py
index 56b85c2dd0..14e6d64c66 100644
--- a/src/python/grpcio_tests/tests/reflection/_reflection_servicer_test.py
+++ b/src/python/grpcio_tests/tests/reflection/_reflection_servicer_test.py
@@ -40,8 +40,8 @@ from google.protobuf import descriptor_pool
from google.protobuf import descriptor_pb2
from src.proto.grpc.testing import empty_pb2
-
-from src.proto.grpc.testing.proto2 import empty2_pb2
+#empty2_pb2 is imported for import-consequent side-effects.
+from src.proto.grpc.testing.proto2 import empty2_pb2 # pylint: disable=unused-import
from src.proto.grpc.testing.proto2 import empty2_extensions_pb2
from tests.unit.framework.common import test_constants