From 2802e65f6dcf1c59776fc191d158f3376a22da5c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 31 May 2026 18:31:17 +0200 Subject: [PATCH] pytest: pass `--disable` to curl To avoid a local `.curlrc` interfering with tests. Closes #21816 --- tests/http/testenv/curl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/http/testenv/curl.py b/tests/http/testenv/curl.py index 5149a8578d..f5be5ac449 100644 --- a/tests/http/testenv/curl.py +++ b/tests/http/testenv/curl.py @@ -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')