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'.
This commit is contained in:
Marius Bakke 2022-01-18 16:37:29 +01:00
parent f5e78d4546
commit 146e931523
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -26082,8 +26082,8 @@ (define-public python-lazr-delegates
'(#: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