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 fb31eca commit ffb409bCopy full SHA for ffb409b
testing/test_integration.py
@@ -132,7 +132,8 @@ def test_pretend_version_accepts_bad_string(
132
monkeypatch.setenv(PRETEND_KEY, "dummy")
133
wd.write("setup.py", SETUP_PY_PLAIN)
134
assert wd.get_version(write_to="test.py") == "dummy"
135
- assert wd("python setup.py --version") == "0.0.0"
+ pyver = wd([sys.executable, "setup.py", "--version"])
136
+ assert pyver == "0.0.0"
137
138
139
def test_own_setup_fails_on_old_python(monkeypatch: pytest.MonkeyPatch) -> None:
0 commit comments