mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix pylint warning
This commit is contained in:
@@ -31,7 +31,7 @@ def _git_run_command_mock(command):
|
||||
"If you have updated the code, please remember to add matching command fixtures above."
|
||||
)
|
||||
|
||||
def _requests_get_mock(url, params):
|
||||
def _requests_get_mock(url, params, timeout):
|
||||
response_mock = Mock()
|
||||
|
||||
if url == 'https://api.github.com/repos/ethereum/solidity/pulls/12818':
|
||||
@@ -174,6 +174,7 @@ def _requests_get_mock(url, params):
|
||||
"The test tried to perform an unexpected GET request.\n"
|
||||
f"URL: {url}\n" +
|
||||
(f"query: {params}\n" if len(params) > 0 else "") +
|
||||
f"timeout: {timeout}\n" +
|
||||
"If you have updated the code, please remember to add matching response fixtures above."
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user