guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: python-pybedtools: Disable unreliable test.


From: guix-commits
Subject: 01/02: gnu: python-pybedtools: Disable unreliable test.
Date: Wed, 3 Jun 2020 08:08:10 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 08542026ea6312545d20f408f1743a811ae18f85
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jun 3 14:05:43 2020 +0200

    gnu: python-pybedtools: Disable unreliable test.
    
    * gnu/packages/bioinformatics.scm (python-pybedtools)[arguments]: Disable
    test_intron_exon_reads test; run tests verbosely.
    
    test_intron_exon_reads
---
 gnu/packages/bioinformatics.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index cfa0263..97ad0fc 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -806,12 +806,13 @@ intended to behave exactly the same as the original BWK 
awk.")
        ;; See https://github.com/daler/pybedtools/issues/192
        #:phases
        (modify-phases %standard-phases
-         ;; See https://github.com/daler/pybedtools/issues/261
          (add-after 'unpack 'disable-broken-tests
            (lambda _
-             ;; This test (pybedtools.test.test_scripts.test_venn_mpl) needs a
-             ;; graphical environment.
              (substitute* "pybedtools/test/test_scripts.py"
+               ;; This test freezes.
+               (("def test_intron_exon_reads")
+                "def _do_not_test_intron_exon_reads")
+               ;; This test fails in the Python 2 build.
                (("def test_venn_mpl")
                 "def _do_not_test_venn_mpl"))
              (substitute* "pybedtools/test/test_helpers.py"
@@ -868,7 +869,7 @@ intended to behave exactly the same as the original BWK 
awk.")
              (mkdir-p "/tmp/test")
              (copy-recursively "pybedtools/test" "/tmp/test")
              (with-directory-excursion "/tmp/test"
-               (invoke "pytest")))))))
+               (invoke "pytest" "-v" "--doctest-modules")))))))
     (propagated-inputs
      `(("bedtools" ,bedtools)
        ("samtools" ,samtools)



reply via email to

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