; 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)
This commit is contained in:
kobarity 2024-06-10 23:50:11 +09:00 committed by Mattias Engdegård
parent 84653558fe
commit 3003d6a0c0

View file

@ -4974,7 +4974,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))
""))))