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

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

[elpa] externals/eglot 1c6c30f 17/69: Disable another test on Travis


From: João Távora
Subject: [elpa] externals/eglot 1c6c30f 17/69: Disable another test on Travis
Date: Sun, 20 Oct 2019 08:21:44 -0400 (EDT)

branch: externals/eglot
commit 1c6c30fa68e5880f8ef026328883a76581acf759
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Disable another test on Travis
    
    Just forget about the Python version nightmare...
    
    * eglot-tests.el (python-autopep-formatting): Disable on test Travis
---
 eglot-tests.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/eglot-tests.el b/eglot-tests.el
index d1f56db..a037fb6 100644
--- a/eglot-tests.el
+++ b/eglot-tests.el
@@ -450,6 +450,12 @@ Pass TIMEOUT to `eglot--with-timeout'."
 (ert-deftest python-autopep-formatting ()
   "Test formatting in the pyls python LSP.
 pyls prefers autopep over yafp"
+  ;; For some reason Travis will fail the part of the test where we
+  ;; try to reformat just the second line, i.e. it will _not_ add
+  ;; newlines before the region we asked to reformat.  I actually
+  ;; think Travis' behaviour is more sensible, but I don't know how to
+  ;; reproduce it locally.  Must be some Python version thing.
+  (skip-unless (null (getenv "TRAVIS_TESTING")))
   (skip-unless (and (executable-find "pyls")
                     (executable-find "autopep8")))
   (eglot--with-fixture



reply via email to

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