Reword the comment

pull/21506/head
Lidi Zheng 5 years ago
parent 65e4f17a2c
commit e8283e4818
  1. 2
      src/python/grpcio/grpc/experimental/aio/_call.py

@ -417,7 +417,7 @@ class UnaryStreamCall(Call, _base_call.UnaryStreamCall):
if response_message is None: if response_message is None:
# If the read operation failed, Core should explain why. # If the read operation failed, Core should explain why.
await self._raise_rpc_error_if_not_ok() await self._raise_rpc_error_if_not_ok()
# If everything is okay, there is something wrong internally. # If no exception raised, there is something wrong internally.
assert False, 'Read operation failed with StatusCode.OK' assert False, 'Read operation failed with StatusCode.OK'
else: else:
return response_message return response_message

Loading…
Cancel
Save