emacs-diffs
[Top][All Lists]
Advanced

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

master db042b7591 1/2: Skip one python test case on macOS


From: Mattias Engdegård
Subject: master db042b7591 1/2: Skip one python test case on macOS
Date: Mon, 28 Nov 2022 14:17:40 -0500 (EST)

branch: master
commit db042b7591ea9da5e169704e5b32bd99c4ea7adf
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

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

diff --git a/test/lisp/progmodes/python-tests.el 
b/test/lisp/progmodes/python-tests.el
index f871b7bc7d..3efc28c7ed 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



reply via email to

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