Skip to content

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox

Support Python 3.8 in the tests

lwthiker184fa640e864
diff --git a/tests/test_impersonate.py b/tests/test_impersonate.py
index ffc4bbb..503f1a5 100644
--- a/tests/test_impersonate.py
+++ b/tests/test_impersonate.py
@@ -257,7 +257,7 @@ class TestImpersonation:
def _run_curl(self, curl_binary, env_vars, extra_args, url):
env = os.environ.copy()
if env_vars:
- env |= env_vars
+ env.update(env_vars)
logging.debug(f"Launching '{curl_binary}' to {url}")
if env_vars: