[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: python-hpack: Respect "--without-tests".
From: |
guix-commits |
Subject: |
04/07: gnu: python-hpack: Respect "--without-tests". |
Date: |
Thu, 8 Jul 2021 15:23:14 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit a6e70f3f0c5bdeaeba87ee847e94e60be4cfc08d
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Jul 8 17:23:53 2021 +0200
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>
---
gnu/packages/python-web.scm | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index cdc5c13..acabe00 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -877,12 +877,13 @@ into HTTP/2 frames.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv" "test" "-k"
- ;; This test will be fixed in the next version. See:
- ;; https://github.com/python-hyper/hpack/issues/168.
- "not test_get_by_index_out_of_range"))))))
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-vv" "test" "-k"
+ ;; This test will be fixed in the next version. See:
+ ;; https://github.com/python-hyper/hpack/issues/168.
+ "not test_get_by_index_out_of_range")))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://hyper.rtfd.org")
- branch master updated (beaa5df -> f78a09f), guix-commits, 2021/07/08
- 01/07: gnu: python-pymediainfo: Respect "--without-tests"., guix-commits, 2021/07/08
- 02/07: gnu: python-watchgod: Respect "--without-tests"., guix-commits, 2021/07/08
- 04/07: gnu: python-hpack: Respect "--without-tests".,
guix-commits <=
- 03/07: gnu: python-hyperframe: Respect "--without-tests"., guix-commits, 2021/07/08
- 05/07: gnu: python-h11: Respect "--without-tests"., guix-commits, 2021/07/08
- 06/07: gnu: python-h2: Respect "--without-tests"., guix-commits, 2021/07/08
- 07/07: gnu: libolm: Respect "--without-tests"., guix-commits, 2021/07/08