Skip to content

Commit 0ddda16

Browse files
committed
Use sys.executable
Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
1 parent fd5d482 commit 0ddda16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/test/test_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_exec_nonascii_file(self):
4747
f.flush()
4848
try:
4949
subprocess.check_call([
50-
'python', '-m', 'bpython.curtsies',
50+
sys.executable, '-m', 'bpython.curtsies',
5151
f.name])
5252
except subprocess.CalledProcessError:
5353
self.fail('Error running module with nonascii characters')

0 commit comments

Comments
 (0)