We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08d1ac2 commit 4fb7418Copy full SHA for 4fb7418
1 file changed
spin/tests/test_build_cmds.py
@@ -34,9 +34,9 @@ def test_debug_builds():
34
35
def test_expand_pythonpath():
36
output = assert_cmd(["spin", "run", "echo $PYTHONPATH"])
37
- assert "site-packages" in stdout(
38
- output
39
- ), f"Expected value of $PYTHONPATH, got {output} instead"
+ assert any(
+ p in stdout(output) for p in ("site-packages", "dist-packages")
+ ), f"Expected value of $PYTHONPATH, got {stdout(output)} instead"
40
41
42
def test_run_stdout():
0 commit comments