From 702ff3bbb9636ba91f1187d5a0d32b1a8ea76609 Mon Sep 17 00:00:00 2001 From: Aeliton Silva Date: Thu, 11 Dec 2025 17:09:30 -0300 Subject: [PATCH] Use python from venv to tear down tests Tests will except when using system installed dependencies on debain. --- ropetest/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ropetest/conftest.py b/ropetest/conftest.py index 30af57e8..77d44d6c 100644 --- a/ropetest/conftest.py +++ b/ropetest/conftest.py @@ -105,4 +105,4 @@ def external_fixturepkg(session_venv, session_venv_python_executable): "ropetest-package-fixtures/external_fixturepkg/dist/external_fixturepkg-1.0.0-py3-none-any.whl", ]) yield - check_call([sys.executable, "-m", "pip", "uninstall", "--yes", "external-fixturepkg"]) + check_call([session_venv_python_executable, "-m", "pip", "uninstall", "--yes", "external-fixturepkg"])