Skip to content

Commit

Permalink
Merge pull request #77 from musicinmybrain/test-python-executable
Browse files Browse the repository at this point in the history
Don’t assume Python is called `python` in tests
  • Loading branch information
ccordoba12 authored Sep 10, 2023
2 parents afcd1cf + 97a70c9 commit 7cc6149
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from collections import namedtuple
from os.path import basename, exists
from subprocess import PIPE, Popen
import sys
import time

# Local imports
Expand All @@ -38,7 +39,7 @@ def invoke(args):
stderr=PIPE,
cwd=PROJECT_DIR
)
proc = Popen(['python', '-m', 'qtsass'] + args, **kwargs)
proc = Popen([sys.executable, '-m', 'qtsass'] + args, **kwargs)
return proc


Expand Down

0 comments on commit 7cc6149

Please sign in to comment.