forked from pool/python-pdm
14 lines
653 B
Diff
14 lines
653 B
Diff
|
Index: pdm-1.15.3/tests/cli/test_use.py
|
||
|
===================================================================
|
||
|
--- pdm-1.15.3.orig/tests/cli/test_use.py
|
||
|
+++ pdm-1.15.3/tests/cli/test_use.py
|
||
|
@@ -14,7 +14,7 @@ def test_use_command(project, invoke):
|
||
|
python = "python" if os.name == "nt" else "python3"
|
||
|
python_path = shutil.which(python)
|
||
|
result = invoke(["use", "-f", python], obj=project)
|
||
|
- assert result.exit_code == 0
|
||
|
+ assert result.exit_code == 0, f"Stdout: {result.stdout} Stderr: {result.stderr}"
|
||
|
config_content = project.root.joinpath(".pdm.toml").read_text()
|
||
|
assert python_path.replace("\\", "\\\\") in config_content
|
||
|
|