Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 4a58868

Browse files
committed
fix comparison
1 parent 3cf5841 commit 4a58868

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/system/test_retry_streaming.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,13 @@ def test_streaming_transient_retryable_partial_data(sequence):
129129
Server stream yields some data before failing with a retryable error a number of times before success.
130130
Wrapped stream should contain data from all attempts
131131
132-
TODO: implement fix for rest client: https://github.com/googleapis/gapic-showcase/issues/1377
132+
TODO:
133+
Test is currently skipped for rest clients due to known issue:
134+
https://github.com/googleapis/gapic-showcase/issues/1377
133135
"""
134136
from google.protobuf.duration_pb2 import Duration
135137

136-
if sequence.transport == type(sequence).get_transport_class("rest"):
138+
if type(sequence.transport) == type(sequence).get_transport_class("rest"):
137139
pytest.skip("Skipping due to known streaming issue in rest client")
138140

139141
retry = retries.StreamingRetry(

0 commit comments

Comments
 (0)