Skip to content

Commit e94d68a

Browse files
committed
fix(test_connect_stdio): invoke python3 instead of python
"python" is the name for Python 2's interpreter. Since pynvim is now Python 3 only, there's no reason to expect the legacy interpreter to be available.
1 parent ef3d029 commit e94d68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_attach.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def source(vim: Nvim, code: str) -> None:
125125
])
126126
# see :help jobstart(), *jobstart-options* |msgpack-rpc|
127127
jobid = vim.funcs.jobstart([
128-
'python', '-c', remote_py_code,
128+
'python3', '-c', remote_py_code,
129129
], {'rpc': True, 'on_stderr': 'OutputHandler'})
130130
assert jobid > 0
131131
exitcode = vim.funcs.jobwait([jobid], 500)[0]

0 commit comments

Comments
 (0)