1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Stefano Rivera <stefanor@debian.org>
Date: Mon, 3 Feb 2025 18:01:36 -0400
Subject: Run autopkgtest docformatter under the same Python version
Use the same python executable that the test suite is running under.
Forwarded: not-needed
---
tests/conftest.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/conftest.py b/tests/conftest.py
index 762d246..8cfb1e5 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -114,6 +114,7 @@ def run_docformatter(arguments, temporary_file):
]
else:
DOCFORMATTER_COMMAND = [
+ sys.executable,
os.environ["VIRTUAL_ENV"] + "/bin/docformatter",
] # pragma: no cover
|