Skip to content

Commit e9ad400

Browse files
committed
don't depend on python command
1 parent fd3d5fd commit e9ad400

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_pipe.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ def test_deadlock():
1414
"""Regression test for https://github.com/Textualize/textual/issues/4643"""
1515
app_path = (Path(__file__) / "../deadlock.py").resolve().absolute()
1616
result = subprocess.run(
17-
f'echo q | python "{app_path}"', shell=True, capture_output=True
17+
f'echo q | "{sys.executable}" "{app_path}"', shell=True, capture_output=True
1818
)
1919
print(result.stdout)
20+
print(result.stderr)
2021
assert result.returncode == 0

0 commit comments

Comments
 (0)