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 c969186 commit 70e66d6Copy full SHA for 70e66d6
tests/unit/gapic/test_method.py
@@ -200,7 +200,9 @@ def test_wrap_method_with_overriding_timeout_as_a_number():
200
method, default_retry, default_timeout
201
)
202
203
- result = wrapped_method(timeout=22)
+ # Using "result = wrapped_method(timeout=22)" fails since wrapped_method
204
+ # does floating point calculations that results in 21.987.. instead of 22
205
+ result = wrapped_method(timeout=timeout.ConstantTimeout(22))
206
207
assert result == 42
208
0 commit comments