guix_mirror_bot pushed a commit to branch master
in repository guix.
commit fe25ac0d8a23d1ebab536abac10bb5d7df1c1722
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 7 10:26:24 2025 +0100
gnu: python-peewee: Simplify tests.
* gnu/packages/databases.scm (python-peewee)[arguments] <test-backend>:
Use 'custom.
<test-flags>: Move options from custom 'check here.
<phases>: Use default 'check.
Change-Id: I2e3c6f0cba9913e10f11256ddec9c11da0993d6d
---
gnu/packages/databases.scm | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index a86a2de389..28868d8cf4 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3674,12 +3674,8 @@ on another machine, accessed via TCP/IP.")
(build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "python" "runtests.py")))))))
+ #:test-backend #~'custom
+ #:test-flags #~(list "runtests.py")))
(inputs
(list sqlite))
(native-inputs