We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ed302 commit 7bebb5cCopy full SHA for 7bebb5c
1 file changed
tests/lib/util.py
@@ -40,7 +40,8 @@ def execute(cwd: str | os.PathLike, *cmd: str, **kwargs) -> str:
40
if pythonpath:
41
kwargs["env"]["PYTHONPATH"] = pythonpath
42
43
- with subprocess.Popen(cmd, cwd=cwd, **kwargs, stdout=subprocess.PIPE, universal_newlines=True) as process:
+ print(os.environ)
44
+ with subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, universal_newlines=True, **kwargs) as process:
45
stdout, stderr = process.communicate()
46
if process.returncode != 0:
47
log.error("Failed to execute '%s' at '%s':\nstdout=%s\nstderr=%s", cmd, cwd, stdout, stderr)
0 commit comments