Skip to content

Commit

Permalink
Merge pull request #998 from krassowski/sys-executable
Browse files Browse the repository at this point in the history
Use `sys.executable` in stdio tests
  • Loading branch information
krassowski authored Oct 8, 2023
2 parents 7522350 + b76396a commit 71d99c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python_packages/jupyter_lsp/jupyter_lsp/tests/test_stdio.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import asyncio
import subprocess
import sys

import pytest
from tornado.queues import Queue
Expand Down Expand Up @@ -42,7 +43,7 @@ def spawn_writer(
)
)
return subprocess.Popen(
["python", "-u", str(commands_file)], stdout=subprocess.PIPE, bufsize=0
[sys.executable, "-u", str(commands_file)], stdout=subprocess.PIPE, bufsize=0
)


Expand Down

0 comments on commit 71d99c2

Please sign in to comment.