Skip to content

Commit

Permalink
Don't assume python exectuable is python in the path
Browse files Browse the repository at this point in the history
  • Loading branch information
robbmcleod committed Aug 16, 2018
1 parent 078543b commit 9b3983e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numexpr/tests/test_numexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def test_locals_clears_globals(self):
r"a += 1",
])
# Raises CalledProcessError on a non-normal exit
check = subprocess.check_call('python -c "{0}"'.format(script), shell=True)
check = subprocess.check_call('{0} -c "{1}"'.format(sys.executable, script), shell=True)
# Ideally this test should also be done against ipython but it's not
# a requirement.

Expand Down

0 comments on commit 9b3983e

Please sign in to comment.