guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 489785127152d783bd1030e321186a31794d0412
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Oct 24 13:32:36 2025 +0100

    gnu: python-titlecase: Use unittest test backend.
    
    * gnu/packages/python-xyz.scm (python-titlecase)[arguments]
    <test-backend>: Use 'unittest.
    <phases>: Use default 'check.
    
    Change-Id: Ic77112981c4dbde9847c8b059fef0edfd70472fd
---
 gnu/packages/python-xyz.scm | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 117778bacb..b5e3e65104 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31422,17 +31422,11 @@ an upload option to send your work back to the 
platform.")
        (method url-fetch)
        (uri (pypi-uri "titlecase" version))
        (sha256
-        (base32
-         "1x9myq3rlbw6wh946ncch8px7wyabhzacy2fjji13nmvrivs50vx"))))
+        (base32 "1x9myq3rlbw6wh946ncch8px7wyabhzacy2fjji13nmvrivs50vx"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'check
-            (lambda* (#:key tests? test-flags #:allow-other-keys)
-              (when tests?
-                (apply invoke "python" "-m" "unittest" test-flags)))))))
+      #:test-backend #~'unittest))
     (native-inputs
      (list python-setuptools))
     (home-page "https://github.com/ppannuto/python-titlecase";)

Reply via email to