Skip to content

Commit

Permalink
don't depend on python command
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jun 14, 2024
1 parent fd3d5fd commit e9ad400
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def test_deadlock():
"""Regression test for https://github.com/Textualize/textual/issues/4643"""
app_path = (Path(__file__) / "../deadlock.py").resolve().absolute()
result = subprocess.run(
f'echo q | python "{app_path}"', shell=True, capture_output=True
f'echo q | "{sys.executable}" "{app_path}"', shell=True, capture_output=True
)
print(result.stdout)
print(result.stderr)
assert result.returncode == 0

0 comments on commit e9ad400

Please sign in to comment.