Skip to content

Commit 7bebb5c

Browse files
committed
Fix tests
1 parent 96ed302 commit 7bebb5c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/lib/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def execute(cwd: str | os.PathLike, *cmd: str, **kwargs) -> str:
4040
if pythonpath:
4141
kwargs["env"]["PYTHONPATH"] = pythonpath
4242

43-
with subprocess.Popen(cmd, cwd=cwd, **kwargs, stdout=subprocess.PIPE, universal_newlines=True) as process:
43+
print(os.environ)
44+
with subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, universal_newlines=True, **kwargs) as process:
4445
stdout, stderr = process.communicate()
4546
if process.returncode != 0:
4647
log.error("Failed to execute '%s' at '%s':\nstdout=%s\nstderr=%s", cmd, cwd, stdout, stderr)

0 commit comments

Comments
 (0)