From aba4cdc87f1146ccb018d73816d4ec950865a9ae Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 12 Jul 2022 13:27:14 +0300 Subject: gnu: python-tornado-6: Honor tests flag. * gnu/packages/python-web.scm (python-tornado-6)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. --- gnu/packages/python-web.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6f951595c8..87e65f4d36 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2073,9 +2073,9 @@ connection to each user.") '(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "python" "-m" "tornado.test.runtests") - #t))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "tornado.test.runtests"))))))) (native-inputs (list python-certifi)) (home-page "https://www.tornadoweb.org/") -- cgit v1.2.3