; Fix recent change to python-tests.el
authorkobarity <kobarity@gmail.com>
Mon, 10 Jun 2024 14:50:11 +0000 (23:50 +0900)
committerMattias EngdegÄrd <mattiase@acm.org>
Mon, 10 Jun 2024 15:43:07 +0000 (17:43 +0200)
* test/lisp/progmodes/python-tests.el
(python-tests--pythonstartup-file): Use already bound
'python-shell-interpreter'.  (Bug#70815)

test/lisp/progmodes/python-tests.el

index ce1039214546f8c556901c05f253b88422f21028..31b1c80a5719975cea828de78ce3f52cabb0af20 100644 (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))
           ""))))