summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-07 13:07:23 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-07 13:07:23 +0100
commited15986a32c304133c20a75d12b8fe14b441250e (patch)
tree7526320fbfdd8fb1eca5491b898859e8b6d2bf02 /gnu/packages/python-xyz.scm
parentad1704604000d8932896238e3d8053836041c06b (diff)
gnu: python-dask: Run tests conditionally.
* gnu/packages/python-xyz.scm (python-dask)[arguments]: Respect TESTS? option.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8aee3352aa..70bc458d67 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22764,7 +22764,8 @@ decisions with any given backend.")
(string-append "@pytest.mark.skip(reason=\"Disabled by Guix\")\n"
m)))))
(replace 'check
- (lambda _ (invoke "pytest" "-vv"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests? (invoke "pytest" "-vv")))))))
(propagated-inputs
`(("python-cloudpickle" ,python-cloudpickle)
("python-fsspec" ,python-fsspec)