emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master bb97552: Run python test if the python executable i


From: Tino Calancha
Subject: [Emacs-diffs] master bb97552: Run python test if the python executable is found
Date: Mon, 14 May 2018 20:03:36 -0400 (EDT)

branch: master
commit bb97552784af2e3cd89f0268b52ded0ae59e3895
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>

    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.
---
 test/lisp/progmodes/python-tests.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/lisp/progmodes/python-tests.el 
b/test/lisp/progmodes/python-tests.el
index dd1c459..1c4d22d 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -5355,6 +5355,7 @@ buffer with overlapping strings."
 ;; After call `run-python' the buffer running the python process is current.
 (ert-deftest python-tests--bug31398 ()
   "Test for https://debbugs.gnu.org/31398 ."
+  (skip-unless (executable-find python-tests-shell-interpreter))
   (let ((buffer (process-buffer (run-python nil nil 'show))))
     (should (eq buffer (current-buffer)))
     (pop-to-buffer (other-buffer))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]