guix-commits
[Top][All Lists]
Advanced

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

03/04: gnu: python2-urwid: Disable vterm tests.


From: Ludovic Courtès
Subject: 03/04: gnu: python2-urwid: Disable vterm tests.
Date: Mon, 1 May 2017 11:31:06 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e93793059d4a15894e407525bdc33fd06e2b104a
Author: Maxim Cournoyer <address@hidden>
Date:   Sun Apr 30 14:55:47 2017 +0900

    gnu: python2-urwid: Disable vterm tests.
    
    * gnu/packages/python.scm (python2-urwid)['delete-test_vterm]: Add phase to
    delete problematic test modules.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/python.scm | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 164c1f4..b715289 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5509,7 +5509,18 @@ features useful for text console applications.")
     (license license:lgpl2.1+)))
 
 (define-public python2-urwid
-  (package-with-python2 python-urwid))
+  (let ((python2-urwid (package-with-python2 python-urwid)))
+    (package
+      (inherit python2-urwid)
+      (arguments
+       (append
+        '(#:phases
+          (modify-phases %standard-phases
+            ;; Disable the vterm tests because of non-deterministic failures
+            ;; with Python 2. See https://github.com/urwid/urwid/issues/230.
+            (add-after 'unpack 'delete-test_vterm.py
+              (delete-file "urwid/tests/test_vterm.py"))))
+        (package-arguments python-urwid))))))
 
 (define-public python-openid
   (package



reply via email to

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