guix-commits
[Top][All Lists]
Advanced

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

75/150: gnu: python-bleach: Selectively disable tests.


From: guix-commits
Subject: 75/150: gnu: python-bleach: Selectively disable tests.
Date: Sun, 24 Apr 2022 05:12:25 -0400 (EDT)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit 531c8bd3042725ea5cc6beaae17a7bd6da044b2d
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Dec 31 14:38:30 2021 +0100

    gnu: python-bleach: Selectively disable tests.
    
    * gnu/packages/python-xyz.scm (python-bleach)[#:test-flags]: Disable
    one test.
---
 gnu/packages/python-xyz.scm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a75c8494a4..8216be854d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12756,11 +12756,8 @@ systems, as a command line tool, and as a Python 
library.")
        (sha256
         (base32 "1nkibazmw1ry4cfxs9qrkkidxdf2z1hh1b20xq1ahqdsgsrxh009"))))
     (build-system python-build-system)
-    (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda* (#:key tests? #:allow-other-keys)
-                      (when tests? (invoke "pytest" "-vv")))))))
+    ;; Some of these tests fail for unknown reasons.
+    (arguments `(#:test-flags '("-vv" "-k" "not 
test_uri_value_allowed_protocols")))
     (propagated-inputs
      (list python-packaging python-six python-webencodings))
     (native-inputs



reply via email to

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