diff options
author | 2017-01-17 23:31:17 +0000 | |
---|---|---|
committer | 2017-01-17 23:31:17 +0000 | |
commit | 5aa2bcfd4dea92ca18b7b6b0b3f40d1b8fabc246 (patch) | |
tree | 8ecee9462f67974b38bc972cb3ed12721ed7ef64 | |
parent | fc4b07e10c0482522dbc6a01401ea8f1606a76b4 (diff) |
Pass an iterator rather than an iterable
This should have been included in dd52a31337616fe935f79debfe5d56c6d73a
but was missed because it falsely passes almost all of the time.
-rw-r--r-- | src/python/grpcio_tests/tests/unit/beta/_not_found_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/grpcio_tests/tests/unit/beta/_not_found_test.py b/src/python/grpcio_tests/tests/unit/beta/_not_found_test.py index 664e47c769..ce7b91e9fe 100644 --- a/src/python/grpcio_tests/tests/unit/beta/_not_found_test.py +++ b/src/python/grpcio_tests/tests/unit/beta/_not_found_test.py @@ -62,7 +62,7 @@ class NotFoundTest(unittest.TestCase): def test_future_stream_unary_not_found(self): rpc_future = self._generic_stub.future_stream_unary( - 'grupe', 'mevvod', [b'def'], test_constants.LONG_TIMEOUT) + 'grupe', 'mevvod', iter([b'def']), test_constants.LONG_TIMEOUT) with self.assertRaises(face.LocalError) as exception_assertion_context: rpc_future.result() self.assertIs(exception_assertion_context.exception.code, |