aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/progmodes/python-tests.el
diff options
context:
space:
mode:
authorkobarity2024-06-10 23:50:11 +0900
committerMattias EngdegÄrd2024-06-10 17:43:07 +0200
commit3003d6a0c046a8f94dfb276f1856a5b298044387 (patch)
treeffbb0044396a9430a50de6bc5581c85b47dd5c89 /test/lisp/progmodes/python-tests.el
parent84653558fe4c6c54f8aba922302895ab9cd61de6 (diff)
downloademacs-3003d6a0c046a8f94dfb276f1856a5b298044387.tar.gz
emacs-3003d6a0c046a8f94dfb276f1856a5b298044387.zip
; 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)
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
-rw-r--r--test/lisp/progmodes/python-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el
index ce103921454..31b1c80a571 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -4974,7 +4974,7 @@ def foo():
4974 "Return Jedi readline setup file if PYTHONSTARTUP is not set." 4974 "Return Jedi readline setup file if PYTHONSTARTUP is not set."
4975 (or (getenv "PYTHONSTARTUP") 4975 (or (getenv "PYTHONSTARTUP")
4976 (with-temp-buffer 4976 (with-temp-buffer
4977 (if (eql 0 (call-process (python-tests-get-shell-interpreter) 4977 (if (eql 0 (call-process python-shell-interpreter
4978 nil t nil "-m" "jedi" "repl")) 4978 nil t nil "-m" "jedi" "repl"))
4979 (string-trim (buffer-string)) 4979 (string-trim (buffer-string))
4980 "")))) 4980 ""))))