From 146e931523853ecabdc66834f14193755251df4c Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 18 Jan 2022 16:37:29 +0100 Subject: [PATCH] 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 @@ (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