guix-commits
[Top][All Lists]
Advanced

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

46/103: gnu: python-pytest-remotedata: Disable tests.


From: guix-commits
Subject: 46/103: gnu: python-pytest-remotedata: Disable tests.
Date: Wed, 5 Jan 2022 09:44:34 -0500 (EST)

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

commit 2647a0e01d87dd9ac8d44f2f54f0090528d5f959
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Wed Dec 29 19:15:32 2021 +0100

    gnu: python-pytest-remotedata: Disable tests.
    
    * gnu/packages/python-check.scm (python-pytest-remotedata)[arguments]:
    Migrate custom #:phases to #:test-flags, but disable tests.
---
 gnu/packages/python-check.scm | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 039afc0cad..71facba9a1 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -558,17 +558,9 @@ were inadvertently left open at the end of a unit test.")
         (base32 "1h6g6shib6z07azf12rnsa053470ggbd7hy3bnbw8nf3nza5h372"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             ;; Make the installed plugin discoverable by Pytest.
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv" "-k"
-                     (string-append
-                      ;; These tests require internet access. Disable them.
-                      "not test_default_behavior"
-                      " and not test_strict_with_decorator")))))))
+     '(#:tests? #f ; TODO: Tests never terminate.
+       #:test-flags '("-vvv" "-k"
+                      "not test_default_behavior and not 
test_strict_with_decorator")))
     (native-inputs
      (list python-pytest))
     (propagated-inputs



reply via email to

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