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 cfbc10c commit bf6792fCopy full SHA for bf6792f
tests/unit/gapic/test_method.py
@@ -177,7 +177,7 @@ def test_wrap_method_with_overriding_retry_timeout_compression(unused_sleep):
177
method, default_retry, default_timeout, default_compression
178
)
179
180
- specified_timeout = 22
+ specified_timeout = 22.0
181
result = wrapped_method(
182
retry=retry.Retry(retry.if_exception_type(exceptions.NotFound)),
183
timeout=timeout.ConstantTimeout(specified_timeout),
@@ -201,7 +201,7 @@ def test_wrap_method_with_overriding_timeout_as_a_number():
201
method, default_retry, default_timeout
202
203
204
205
result = wrapped_method(timeout=specified_timeout)
206
207
assert result == 42
0 commit comments