guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python2-dendropy: Disable failing test.


From: Ben Woodcroft
Subject: 01/01: gnu: python2-dendropy: Disable failing test.
Date: Sun, 21 Oct 2018 08:34:49 -0400 (EDT)

benwoodcroft pushed a commit to branch master
in repository guix.

commit 617c478506888daea35dceeda3679196eb8a5177
Author: Ben Woodcroft <address@hidden>
Date:   Sun Oct 21 22:31:56 2018 +1000

    gnu: python2-dendropy: Disable failing test.
    
    * gnu/packages/bioinformatics.scm (python2-dendropy)[arguments]: Disable
    failing test.
---
 gnu/packages/bioinformatics.scm | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7c58ab2..1e04081 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -2063,7 +2063,21 @@ trees (phylogenies) and characters.")
     (license license:bsd-3)))
 
 (define-public python2-dendropy
-  (package-with-python2 python-dendropy))
+  (let ((base (package-with-python2 python-dendropy)))
+    (package
+      (inherit base)
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'remove-failing-test
+             (lambda _
+               ;; This test fails when the full test suite is run, as 
documented
+               ;; at https://github.com/jeetsukumaran/DendroPy/issues/74
+               (substitute* "tests/test_dataio_nexml_reader_tree_list.py"
+                 (("test_collection_comments_and_annotations")
+                  "do_not_test_collection_comments_and_annotations"))
+               #t)))
+         ,@(package-arguments base))))))
 
 (define-public python-py2bit
   (package



reply via email to

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