mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Do not hard-code Python 3.
This commit is contained in:
parent
e3d1732fcc
commit
dc00f36e3e
1 changed files with 1 additions and 1 deletions
|
|
@ -8,8 +8,8 @@ import sys
|
|||
TEST_ROOT = os.path.dirname(__file__)
|
||||
PROJECT_ROOT = os.path.dirname(TEST_ROOT)
|
||||
|
||||
executable = 'python3 -m unittest'
|
||||
|
||||
executable = sys.executable + ' -m unittest'
|
||||
if all(arg.startswith('-') for arg in sys.argv[1:]):
|
||||
argv = [executable,
|
||||
'discover',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue