From 184fa640e8649d46e4420af101d82ecbe1553bde Mon Sep 17 00:00:00 2001 From: lwthiker Date: Tue, 12 Apr 2022 17:11:22 +0300 Subject: [PATCH] Support Python 3.8 in the tests --- tests/test_impersonate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: