diff options
author | Mehrdad Afshari <mehrdada@users.noreply.github.com> | 2018-04-18 18:10:35 -0700 |
---|---|---|
committer | Mehrdad Afshari <mehrdada@users.noreply.github.com> | 2018-04-19 10:39:38 -0700 |
commit | ce8e2fcd16fbfa35365bb69b03118d8ed98a8372 (patch) | |
tree | dc9e19e6a7f91e6425f1ec86d8185485a9500abf /src | |
parent | 35c7e8c83318edb4c5a910b54224a322970efce9 (diff) |
Eliminate unreachable suppression
Diffstat (limited to 'src')
-rw-r--r-- | src/python/grpcio_tests/tests/testing/_server_application.py | 2 | ||||
-rw-r--r-- | src/python/grpcio_tests/tests/unit/beta/_beta_features_test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/python/grpcio_tests/tests/testing/_server_application.py b/src/python/grpcio_tests/tests/testing/_server_application.py index 02769ca68d..243c385daf 100644 --- a/src/python/grpcio_tests/tests/testing/_server_application.py +++ b/src/python/grpcio_tests/tests/testing/_server_application.py @@ -38,7 +38,7 @@ class FirstServiceServicer(services_pb2_grpc.FirstServiceServicer): context.set_code(grpc.StatusCode.INVALID_ARGUMENT) context.set_details('Something is wrong with your request!') return - yield services_pb2.Strange() + yield services_pb2.Strange() # pylint: disable=unreachable def StreUn(self, request_iterator, context): context.send_initial_metadata((( diff --git a/src/python/grpcio_tests/tests/unit/beta/_beta_features_test.py b/src/python/grpcio_tests/tests/unit/beta/_beta_features_test.py index 61c03f64ba..b43c647fc9 100644 --- a/src/python/grpcio_tests/tests/unit/beta/_beta_features_test.py +++ b/src/python/grpcio_tests/tests/unit/beta/_beta_features_test.py @@ -65,7 +65,7 @@ class _Servicer(object): self._serviced = True self._condition.notify_all() return - yield + yield # pylint: disable=unreachable def stream_unary(self, request_iterator, context): for request in request_iterator: |