Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion codecov_cli/runners/pytest_standard_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging
import random
import subprocess
import sys
from subprocess import CalledProcessError
from sys import stdout
from typing import List, Optional
Expand All @@ -20,7 +21,7 @@ class PytestStandardRunnerConfigParams(dict):
@property
def python_path(self) -> str:
python_path = self.get("python_path")
return python_path or "python"
return python_path or sys.executable

@property
def collect_tests_options(self) -> List[str]:
Expand Down
Loading