diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-11-03 15:08:18 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-11-03 15:28:27 +0100 |
commit | 23489e69f29cf4f2794f4a2180a9aca01567585a (patch) | |
tree | e3cffaf5bb3a110607abaa9ae89f613e3a9f08ef | |
parent | ccb2fabee0c0d71808a9e0c90db3f8f0f43c803f (diff) | |
download | guix-23489e69f29cf4f2794f4a2180a9aca01567585a.tar.gz guix-23489e69f29cf4f2794f4a2180a9aca01567585a.zip |
gnu: python-sqlalchemy: Respect #:tests?.
* gnu/packages/databases.scm (python-sqlalchemy)[argument]:
Respect the #:tests? keyword in the custom 'check phase.
-rw-r--r-- | gnu/packages/databases.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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 |