summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2022-11-28 19:41:02 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2022-11-30 13:22:09 +0100
commit33a244097c3754f48b4959bfc0f36713af836bbc (patch)
tree5b81c1bd993693bdec256699145b4e51741f5604
parentaf1a99d53f2ac5017b7a016f1ef2bce57c28a5b0 (diff)
downloademacs-33a244097c3754f48b4959bfc0f36713af836bbc.tar.gz
Skip one python test case on macOS
* 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. (cherry picked from commit db042b7591ea9da5e169704e5b32bd99c4ea7adf)
-rw-r--r--test/lisp/progmodes/python-tests.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el
index f871b7bc7d9..3efc28c7edc 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -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