From ad83d70aba0016204a7763688a557b7f5f6cdcbc Mon Sep 17 00:00:00 2001 From: kobarity Date: Mon, 10 Jun 2024 23:50:11 +0900 Subject: [PATCH] ; Fix recent change to python-tests.el * test/lisp/progmodes/python-tests.el (python-tests--pythonstartup-file): Use already bound 'python-shell-interpreter'. (Bug#70815) (cherry picked from commit 3003d6a0c046a8f94dfb276f1856a5b298044387) --- test/lisp/progmodes/python-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index 3a04550f071..002a6332703 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el @@ -4941,7 +4941,7 @@ def foo(): "Return Jedi readline setup file if PYTHONSTARTUP is not set." (or (getenv "PYTHONSTARTUP") (with-temp-buffer - (if (eql 0 (call-process (python-tests-get-shell-interpreter) + (if (eql 0 (call-process python-shell-interpreter nil t nil "-m" "jedi" "repl")) (string-trim (buffer-string)) "")))) -- 2.39.2