guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 743b5043242fc5a5aca39fee2e6296ba62d7cdaf
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 1 21:24:42 2026 +0000

    gnu: python-roman: Fix tests.
    
    * gnu/packages/python-xyz.scm (python-roman)[arguments]<test-flags>:
    Add unitest discovery option in "src" directory.
    
    Change-Id: I3e14d0a0bf6f5e50ec5755d4f1846123ca34e877
---
 gnu/packages/python-xyz.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 216d9f20f7..78b3af3e3a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8497,7 +8497,8 @@ cutting and pasting that code over and over.")
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:test-backend #~'unittest))
+      #:test-backend #~'unittest
+      #:test-flags #~(list "discover" "-s" "src")))
     (native-inputs (list python-setuptools))
     (home-page "https://github.com/zopefoundation/roman";)
     (synopsis "Integer to Roman numerals converter")

Reply via email to