mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 20:10:39 +02:00
gnu: python-hpack: Respect "--without-tests".
* gnu/packages/python-web.scm (python-hpack)[arguments]<#:phases>{check}: Respect #:tests?. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
a5a90a98d8
commit
a6e70f3f0c
1 changed files with 7 additions and 6 deletions
|
@ -877,12 +877,13 @@ into HTTP/2 frames.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(when tests?
|
||||||
(invoke "pytest" "-vv" "test" "-k"
|
(add-installed-pythonpath inputs outputs)
|
||||||
;; This test will be fixed in the next version. See:
|
(invoke "pytest" "-vv" "test" "-k"
|
||||||
;; https://github.com/python-hyper/hpack/issues/168.
|
;; This test will be fixed in the next version. See:
|
||||||
"not test_get_by_index_out_of_range"))))))
|
;; https://github.com/python-hyper/hpack/issues/168.
|
||||||
|
"not test_get_by_index_out_of_range")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(home-page "https://hyper.rtfd.org")
|
(home-page "https://hyper.rtfd.org")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue