guix-commits
[Top][All Lists]
Advanced

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

16/17: gnu: python-urwid: Disable failing test test_remove_watch_file.


From: Leo Famulari
Subject: 16/17: gnu: python-urwid: Disable failing test test_remove_watch_file.
Date: Fri, 15 Jan 2016 22:16:29 +0000

lfam pushed a commit to branch master
in repository guix.

commit b97c1bfd5675a4465f006d4c36f8953b005e40b8
Author: Leo Famulari <address@hidden>
Date:   Sun Jan 3 14:07:33 2016 -0500

    gnu: python-urwid: Disable failing test test_remove_watch_file.
    
    * gnu/packages/python.scm (python-urwid)[arguments]: Add
    'disable-failing-test' phase.
    [source]: Use pypi-uri.
---
 gnu/packages/python.scm |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 32da247..c3e9f42 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4361,13 +4361,22 @@ and written in Python.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append
-             "https://pypi.python.org/packages/source/u/urwid/urwid-";
-             version ".tar.gz"))
+       (uri (pypi-uri "urwid" version))
        (sha256
         (base32
          "18mb0yy94sjc434rd61m2sfnw27sa0nyrszpj5a9r9zh7fnlzw19"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; Disable failing test. Bug filed upstream:
+         ;; https://github.com/wardi/urwid/issues/164
+         ;; TODO: check again for python-urwid > 1.3.0 or python > 3.4.3.
+         (add-after 'unpack 'disable-failing-test
+          (lambda _
+            (substitute* "urwid/tests/test_event_loops.py"
+              (("test_remove_watch_file")
+                "disable_remove_watch_file")))))))
     (native-inputs `(("python-setuptools" ,python-setuptools)))
     (home-page "http://urwid.org";)
     (synopsis "Console user interface library for Python")



reply via email to

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