From: kobarity Date: Mon, 10 Jun 2024 14:50:11 +0000 (+0900) Subject: ; Fix recent change to python-tests.el X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ad83d70aba0016204a7763688a557b7f5f6cdcbc;p=emacs.git ; 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) --- 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)) ""))))