mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add python-pytest-doctest-custom.
* gnu/packages/python-check.scm (python-pytest-doctest-custom): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
a3d0a702ad
commit
3d2ea6a50b
1 changed files with 29 additions and 0 deletions
|
@ -776,6 +776,35 @@ support and @code{subtests} fixture.")
|
||||||
"Plugin for managing VCR.py cassettes.")
|
"Plugin for managing VCR.py cassettes.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
|
(define-public python-pytest-doctest-custom
|
||||||
|
(package
|
||||||
|
(name "python-pytest-doctest-custom")
|
||||||
|
(version "1.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "pytest-doctest-custom" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0kxkdd6q9c3h31kc88lbyfll4c45b0zjd24cbr4c083fcvcy7lip"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
(invoke "python" "test_pytest_doctest_custom.py")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest))
|
||||||
|
(home-page "https://github.com/danilobellini/pytest-doctest-custom")
|
||||||
|
(synopsis
|
||||||
|
"Pytest plugin to customize string representations of doctest results")
|
||||||
|
(description "This package provides a Pytest plugin for customizing string
|
||||||
|
representations of doctest results. It can change the display hook used by
|
||||||
|
doctest to render the object representations.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-pytest-checkdocs
|
(define-public python-pytest-checkdocs
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-checkdocs")
|
(name "python-pytest-checkdocs")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue