aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/linters.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/linters.py')
-rw-r--r--tests/qemu-iotests/linters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/linters.py b/tests/qemu-iotests/linters.py
index 65c4c4e..9fb3fd1 100644
--- a/tests/qemu-iotests/linters.py
+++ b/tests/qemu-iotests/linters.py
@@ -68,7 +68,7 @@ def run_linter(
:raise CalledProcessError: If the linter process exits with failure.
"""
subprocess.run(
- ('python3', '-m', tool, *args),
+ (sys.executable, '-m', tool, *args),
env=env,
check=True,
stdout=subprocess.PIPE if suppress_output else None,