emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/org d45a896289 2/2: test-ob-python: Disable test failin


From: ELPA Syncer
Subject: [elpa] externals/org d45a896289 2/2: test-ob-python: Disable test failing on CI when using older Emacs
Date: Tue, 15 Nov 2022 21:58:01 -0500 (EST)

branch: externals/org
commit d45a8962895618804409ae51bdc0607ec97e1ef7
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    test-ob-python: Disable test failing on CI when using older Emacs
    
    * testing/lisp/test-ob-python.el (test-ob-python/assign-underscore):
    Skip the test when running Emacs <28.  On older Emacs, python.el may
    fail to load on slow machines, like during CI testing.
    
    Link: 
https://lists.sr.ht/~bzg/org-build-failures/%3CCOCRNW71TUAP.L29E2AW6TQZ2%40cirno2%3E
---
 testing/lisp/test-ob-python.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/testing/lisp/test-ob-python.el b/testing/lisp/test-ob-python.el
index 0889870254..4ce5b79084 100644
--- a/testing/lisp/test-ob-python.el
+++ b/testing/lisp/test-ob-python.el
@@ -163,6 +163,9 @@ value
            (org-babel-execute-src-block)))))
 
 (ert-deftest test-ob-python/assign-underscore ()
+  ;; Disable the test on older Emacs as built-in python.el sometimes
+  ;; fail.
+  (skip-unless (version<= "28" emacs-version))
   (let ((result
          (org-test-with-temp-text "#+begin_src python :session :results value
 _ = 'failure'



reply via email to

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