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 01518f5 commit 0039087Copy full SHA for 0039087
tests/test_recipe.py
@@ -179,7 +179,7 @@ def test_download_file_scheme_https_oserror(self):
179
retry = 5
180
expected_call_args_list = [mock.call(url, filename, mock.ANY)] * retry
181
assert m_urlretrieve.call_args_list == expected_call_args_list
182
- expected_call_args_list = [mock.call(1)] * (retry - 1)
+ expected_call_args_list = [mock.call(2**i) for i in range(retry - 1)]
183
assert m_sleep.call_args_list == expected_call_args_list
184
185
0 commit comments