* test/lisp/progmodes/python-tests.el
(python-tests--pythonstartup-file): Use already bound
'python-shell-interpreter'. (Bug#70815)
(cherry picked from commit
3003d6a0c046a8f94dfb276f1856a5b298044387)
"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))
""))))