]> git.eshelyaron.com Git - emacs.git/commitdiff
Skip one python test case on macOS
authorMattias Engdegård <mattiase@acm.org>
Mon, 28 Nov 2022 18:41:02 +0000 (19:41 +0100)
committerMattias Engdegård <mattiase@acm.org>
Mon, 28 Nov 2022 18:41:02 +0000 (19:41 +0100)
* test/lisp/progmodes/python-tests.el (python-ffap-module-path-1):
This test fails with a standard macOS Python installation;
see bug#59477 and bug#25753.

test/lisp/progmodes/python-tests.el

index f871b7bc7d9039dfffb670f82487dbebe7b889a6..3efc28c7edc01ba1885d679a091231392ace714b 100644 (file)
@@ -4566,6 +4566,11 @@ import abc
 
 (ert-deftest python-ffap-module-path-1 ()
   (skip-unless (executable-find python-tests-shell-interpreter))
+  ;; Skip the test on macOS, since the standard Python installation uses
+  ;; libedit rather than readline which confuses the running of an inferior
+  ;; interpreter in this case (see bug#59477 and bug#25753).
+  (skip-unless (not (eq system-type 'darwin)))
+  (trace-function 'python-shell-output-filter)
   (python-tests-with-temp-buffer-with-shell
    "
 import abc