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 becb053 commit e2b922fCopy full SHA for e2b922f
tests/test_cli.py
@@ -11,7 +11,7 @@
11
12
def test_module_run():
13
"""Simple test for no error when running the module. Output is not validated."""
14
- subprocess.check_call([f"{BINDIR}/python", "-m", "trove_classifiers"])
+ subprocess.check_call([sys.executable, "-m", "trove_classifiers"])
15
16
17
def test_entry_point():
@@ -22,7 +22,7 @@ def test_entry_point():
22
def test_module_run_is_entry_point():
23
"""Compare that module run output is the same as entry point output."""
24
module_run_proc = subprocess.run(
25
- [f"{BINDIR}/python", "-m", "trove_classifiers"],
+ [sys.executable, "-m", "trove_classifiers"],
26
capture_output=True,
27
encoding="utf-8",
28
)
0 commit comments