guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: python-cooler: Skip broken test.


From: guix-commits
Subject: 02/02: gnu: python-cooler: Skip broken test.
Date: Wed, 21 Sep 2022 16:20:54 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 1a1ff7ed8fdaae58aff0e8625399cd7354038ca3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Sep 21 22:16:56 2022 +0200

    gnu: python-cooler: Skip broken test.
    
    * gnu/packages/bioinformatics.scm (python-cooler)[arguments]: Add another
    patch for tests/test_util.py.
---
 gnu/packages/bioinformatics.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index fb4d93769e..5015069a1d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12750,10 +12750,13 @@ fasta subsequences.")
                                 "access to genome.ucsc.edu\")\n"
                                 "def test_roundtrip")))
              (substitute* "tests/test_util.py"
-              (("def test_fetch_chromsizes")
-                 (string-append "@pytest.mark.skip(reason=\"requires network "
-                                "access to genome.ucsc.edu\")\n"
-                                "def test_fetch_chromsizes")))
+               (("def test_fetch_chromsizes")
+                (string-append "@pytest.mark.skip(reason=\"requires network "
+                               "access to genome.ucsc.edu\")\n"
+                               "def test_fetch_chromsizes"))
+               ;; See https://github.com/open2c/cooler/issues/287
+               (("skipif\\(six.PY2, reason=\"Scipy on Py2 is too old\"")
+                "skip(reason=\"Scipy is too new\""))
              ;; This test depends on ipytree, which contains a lot of minified
              ;; JavaScript.
              (substitute* "tests/test_fileops.py"



reply via email to

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