We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1341f0 commit dcce1e7Copy full SHA for dcce1e7
1 file changed
packages/google-api-core/tests/unit/test_bidi.py
@@ -31,8 +31,7 @@
31
except ImportError: # pragma: NO COVER
32
pytest.skip("No GRPC", allow_module_level=True)
33
34
-from google.api_core import bidi
35
-from google.api_core import exceptions
+from google.api_core import bidi, exceptions
36
37
38
class Test_RequestQueueGenerator(object):
@@ -195,7 +194,7 @@ def test_delays_entry_attempts_above_threshold(self):
195
194
# (NOTE: not using assert all(...), b/c the coverage check would complain)
196
for i, entry in enumerate(entries):
197
if i != 3:
198
- assert entry["reported_wait"] == 0.0
+ assert entry["reported_wait"] < 0.01
199
200
# The delayed entry is expected to have been delayed for a significant
201
# chunk of the full second, and the actual and reported delay times
0 commit comments