From 553438b4087b0377447df58f04919684e572b001 Mon Sep 17 00:00:00 2001 From: srichs <13246896+srichs@users.noreply.github.com> Date: Mon, 16 Feb 2026 20:55:23 -0700 Subject: [PATCH] Use current interpreter in module entrypoint test --- tests/test_cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 25931c3..54862a4 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -2,6 +2,7 @@ import os import subprocess +import sys from pathlib import Path from types import SimpleNamespace @@ -26,7 +27,7 @@ def test_module_entrypoint_supports_version_flag() -> None: proc = subprocess.run( - ["python", "-m", "devr", "--version"], + [sys.executable, "-m", "devr", "--version"], cwd=str(Path(__file__).resolve().parents[1]), capture_output=True, text=True,