[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/14: gnu: python-natsort: Honor the #:tests? flag.
From: |
guix-commits |
Subject: |
03/14: gnu: python-natsort: Honor the #:tests? flag. |
Date: |
Thu, 25 Aug 2022 06:07:42 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 4275727ac5ab29c833fd6306d153cdc4e9164dd6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Aug 24 21:30:48 2022 +0300
gnu: python-natsort: Honor the #:tests? flag.
* gnu/packages/python-xyz.scm (python-natsort)[arguments]: Adjust the
custom 'check phase to honor the #:tests? flag.
---
gnu/packages/python-xyz.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8b0aae76ac..de8c7de6e2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18195,8 +18195,9 @@ JSON) codec.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "pytest" "-v"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v")))))))
(native-inputs
(list python-hypothesis python-pytest-cov python-pytest-mock
python-pytest))
- branch master updated (b0c9f03248 -> 932edeb3a0), guix-commits, 2022/08/25
- 09/14: gnu: go-github-com-stretchr-objx: Update to 0.4.0., guix-commits, 2022/08/25
- 14/14: gnu: go-github-com-valyala-fasthttp: Skip tests with gccgo., guix-commits, 2022/08/25
- 13/14: gnu: go-github-com-valyala-fasthttp: Update to 1.39.0., guix-commits, 2022/08/25
- 06/14: gnu: go-github.com-smartystreets-assertions: Update to 1.13.0., guix-commits, 2022/08/25
- 02/14: gnu: go-github.com-jtolds-gls: Skip tests with gccgo., guix-commits, 2022/08/25
- 03/14: gnu: python-natsort: Honor the #:tests? flag.,
guix-commits <=
- 12/14: gnu: go-github-com-sirupsen-logrus: Skip tests with gccgo., guix-commits, 2022/08/25
- 04/14: gnu: python-natsort: Reflow description., guix-commits, 2022/08/25
- 01/14: gnu: go-github-com-pkg-errors: Skip tests with gccgo., guix-commits, 2022/08/25
- 08/14: gnu: go-gopkg-in-check-v1: Skip tests with gccgo., guix-commits, 2022/08/25
- 05/14: gnu: python-natsort: Fix the test suite on slower machines., guix-commits, 2022/08/25
- 11/14: gnu: go-github-com-sirupsen-logrus: Update to 1.9.0., guix-commits, 2022/08/25
- 10/14: gnu: go-github-com-stretchr-objx: Skip tests with gccgo., guix-commits, 2022/08/25
- 07/14: gnu: go-github.com-smartystreets-assertions: Skip tests with gccgo., guix-commits, 2022/08/25