Commit Diff


commit - 2400933b32d3f966f3bcdbfa2dad3c4e9e712100
commit + 2647c582be7258251ad5c0e7442c48023939930f
blob - f58683b13734e562019c2ede56f3d1029ba87b39
blob + 92475a98210074af763a375fa983e4f9885ddb0b
--- tests/compat/test_client.py
+++ tests/compat/test_client.py
@@ -434,7 +434,7 @@ class TestSSHVendor:
         cmd, path = command.split(" ")
         cmd = cmd.split("-", 1)
         path = path.replace("'", "")
-        env = copy.deepcopy(os.environ)
+        env = dict(os.environ)
         if protocol_version is None or protocol_version == 2:
             env["GIT_PROTOCOL"] = "version=2"