aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio_tests/tests/unit
diff options
context:
space:
mode:
authorGravatar Nathaniel Manista <nathaniel@google.com>2018-04-17 18:58:11 +0000
committerGravatar Nathaniel Manista <nathaniel@google.com>2018-04-17 18:58:11 +0000
commit4d647cf9c1b1132aa1649110111d3ed28a294cc1 (patch)
tree6546ddf247a716cbc2b3a863fca1655d2f613cec /src/python/grpcio_tests/tests/unit
parent1f13655c652095562a732639cde4daf760629160 (diff)
Fix a use of nonexistent .received_cancelled
.received_cancelled was changed to .cancelled() in 81edf5ff9af2d90813773acb9c2793e1a4cd1057; this change should have been a part of that change.
Diffstat (limited to 'src/python/grpcio_tests/tests/unit')
-rw-r--r--src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py b/src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py
index 3765ce4fb0..4f8868d346 100644
--- a/src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py
+++ b/src/python/grpcio_tests/tests/unit/_cython/_cancel_many_calls_test.py
@@ -43,7 +43,7 @@ class _State(object):
def _is_cancellation_event(event):
return (event.tag is _RECEIVE_CLOSE_ON_SERVER_TAG and
- event.batch_operations[0].received_cancelled)
+ event.batch_operations[0].cancelled())
class _Handler(object):