aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTino Calancha2018-05-15 09:03:02 +0900
committerTino Calancha2018-05-15 09:03:02 +0900
commitbb97552784af2e3cd89f0268b52ded0ae59e3895 (patch)
tree681336e89f6ebbb5cf140afb71921b2eec857978
parentb015fb0ce37235480af8d80bce8c2f9b7e6258eb (diff)
downloademacs-bb97552784af2e3cd89f0268b52ded0ae59e3895.tar.gz
emacs-bb97552784af2e3cd89f0268b52ded0ae59e3895.zip
Run python test if the python executable is found
* test/lisp/progmodes/python-tests.el (python-tests--bug31398): Skip test when executable python is no found.
-rw-r--r--test/lisp/progmodes/python-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el
index dd1c45914e2..1c4d22d72fa 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -5355,6 +5355,7 @@ buffer with overlapping strings."
5355;; After call `run-python' the buffer running the python process is current. 5355;; After call `run-python' the buffer running the python process is current.
5356(ert-deftest python-tests--bug31398 () 5356(ert-deftest python-tests--bug31398 ()
5357 "Test for https://debbugs.gnu.org/31398 ." 5357 "Test for https://debbugs.gnu.org/31398 ."
5358 (skip-unless (executable-find python-tests-shell-interpreter))
5358 (let ((buffer (process-buffer (run-python nil nil 'show)))) 5359 (let ((buffer (process-buffer (run-python nil nil 'show))))
5359 (should (eq buffer (current-buffer))) 5360 (should (eq buffer (current-buffer)))
5360 (pop-to-buffer (other-buffer)) 5361 (pop-to-buffer (other-buffer))