From 23489e69f29cf4f2794f4a2180a9aca01567585a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 3 Nov 2021 15:08:18 +0100 Subject: gnu: python-sqlalchemy: Respect #:tests?. * gnu/packages/databases.scm (python-sqlalchemy)[argument]: Respect the #:tests? keyword in the custom 'check phase. --- gnu/packages/databases.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 0404f63684..e1d639f86b 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2995,7 +2995,9 @@ Database API 2.0T.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ (invoke "py.test")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "py.test"))))))) (home-page "https://www.sqlalchemy.org") (synopsis "Database abstraction library") (description -- cgit v1.2.3