Merge pull request #15088 from nathanielmanistaatgoogle/fix-cancel_many_calls_test

Fix a use of nonexistent .received_cancelled.
pull/13861/merge
Nathaniel Manista 7 years ago committed by GitHub
commit 33e57824e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py

@ -43,7 +43,7 @@ class _State(object):
def _is_cancellation_event(event): def _is_cancellation_event(event):
return (event.tag is _RECEIVE_CLOSE_ON_SERVER_TAG and return (event.tag is _RECEIVE_CLOSE_ON_SERVER_TAG and
event.batch_operations[0].received_cancelled) event.batch_operations[0].cancelled())
class _Handler(object): class _Handler(object):

Loading…
Cancel
Save