guix-commits
[Top][All Lists]
Advanced

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

07/21: gnu: python-lazr-delegates: Fix test failure.


From: guix-commits
Subject: 07/21: gnu: python-lazr-delegates: Fix test failure.
Date: Tue, 18 Jan 2022 13:38:48 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 146e931523853ecabdc66834f14193755251df4c
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jan 18 16:37:29 2022 +0100

    gnu: python-lazr-delegates: Fix test failure.
    
    * gnu/packages/python-xyz.scm (python-lazr-delegates)[arguments]: Invoke
    'nosetests' directly instead of through setup.py.  While at it, respect
    '--without-tests'.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b94045d210..52ee3b2f81 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26082,8 +26082,8 @@ and plain text.")
      '(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (invoke "python" "setup.py" "nosetests"))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests? (invoke "nosetests")))))))
     (native-inputs
      (list python-nose))
     (propagated-inputs



reply via email to

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