guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f4f98591f62b4bfc92998e1ca6c6a97f0b51635a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Oct 28 17:35:05 2025 +0000

    gnu: Add python-pytest-cases.
    
    * gnu/packages/python-check.scm (python-pytest-cases): New variable.
    
    Change-Id: I189c3230816b144ebc8f5bd0044eb37c4b50d113
---
 gnu/packages/python-check.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 27713a7f77..b1bc149d17 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2189,6 +2189,36 @@ rounds that are calibrated to the chosen timer.")
 Python code formatter \"black\".")
     (license license:expat)))
 
+(define-public python-pytest-cases
+  (package
+    (name "python-pytest-cases")
+    (version "3.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest_cases" version))
+       (sha256
+        (base32 "13vzivzca36g3rbz3k3zny7jqv35vsl2z0fl32ik3j95npqq3qf4"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest-asyncio
+           python-pytest-bootstrap
+           python-pytest-harvest
+           python-pytest-steps
+           python-setuptools
+           python-setuptools-scm))
+    (propagated-inputs
+     (list python-decopatch
+           python-makefun
+           python-packaging))
+    (home-page "https://github.com/smarie/python-pytest-cases";)
+    (synopsis "Separate test code from test cases in pytest.")
+    (description
+     "This package provides a Pytest plugin which leverages
+@code{@@pytest.mark.parametrize} decorator separating test cases from test
+functions.")
+    (license license:bsd-3)))
+
 (define-public python-pytest-celery
   (package
     (name "python-pytest-celery")

Reply via email to