mirror of
https://github.com/curl/curl.git
synced 2026-06-02 03:44:14 +03:00
pytest: pass --disable to curl
To avoid a local `.curlrc` interfering with tests. Closes #21816
This commit is contained in:
parent
d806323ffd
commit
2802e65f6d
1 changed files with 1 additions and 1 deletions
|
|
@ -1127,7 +1127,7 @@ class CurlClient:
|
|||
else:
|
||||
force_resolve = self._force_resolv
|
||||
|
||||
args = [self._curl, "-s", "--path-as-is"]
|
||||
args = [self._curl, "--disable", "-s", "--path-as-is"]
|
||||
if 'CURL_TEST_EVENT' in os.environ:
|
||||
args.append('--test-event')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue