Subject: bug#70815: [PATCH] ; Enahnce python-tests.el to adapt different python interpreters

From: Mattias Engdegård <[email-masked]>
Date: Sun, 26 May 2024 12:52:54 +0200

This change caused python-tests failures on macOS. See attached log.

On this machine which has the standard macOS Python installation, 'python' is python 2, which apparently the tests don't cope very well with. (Have you verified that they do?)

The tests pass if modified to prefer Python 3:

@@ -3722,2 +3722,2 @@ python-tests-get-shell-interpreter
-              (cl-some #'executable-find '("python" "python3" "python2"))))))
+              (cl-some #'executable-find '("python3" "python" "python2"))))))