From 74048549fd4600b7fb3aa3894c4221c57c64b150 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:41:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_tox_uv_venv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tox_uv_venv.py b/tests/test_tox_uv_venv.py index 84b2ed2..ed8b0b1 100644 --- a/tests/test_tox_uv_venv.py +++ b/tests/test_tox_uv_venv.py @@ -62,7 +62,7 @@ def other_interpreter_exe() -> pathlib.Path: # pragma: no cover exe = pathlib.Path(sys.executable) base_python: pathlib.Path | None = None - if exe.name == "python" or exe.name == "python3": + if exe.name in {"python", "python3"}: # python -> pythonX.Y ver = sys.version_info base_python = exe.with_name(f"python{ver.major}.{ver.minor}")