From 1a1ff7ed8fdaae58aff0e8625399cd7354038ca3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 21 Sep 2022 22:16:56 +0200 Subject: 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(-) (limited to 'gnu') 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" -- cgit 1.4.1