mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-19 01:11:55 -05:00
gnu: python-geventhttpclient: Disable test that fails with Python 3.8.
* gnu/packages/python-web.scm (python-geventhttpclient)[arguments]: In the check phase, add pytest flag to filter broken test. While at it, don't reorder the phase, as it now runs after install by default.
This commit is contained in:
parent
9962b87780
commit
6ac6c1d28d
1 changed files with 5 additions and 3 deletions
|
@ -1978,14 +1978,16 @@ (define-public python-geventhttpclient
|
|||
(lambda _
|
||||
(delete-file "src/geventhttpclient/tests/test_client.py")
|
||||
#t))
|
||||
(delete 'check)
|
||||
(add-after 'install 'check
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "py.test" "src/geventhttpclient/tests" "-v"
|
||||
;; Append the test modules to sys.path to avoid
|
||||
;; namespace conflict which breaks SSL tests.
|
||||
"--import-mode=append")
|
||||
"--import-mode=append"
|
||||
;; XXX: Disable test fails with Python 3.8:
|
||||
;; https://github.com/gwik/geventhttpclient/issues/119
|
||||
"-k" (string-append "not test_cookielib_compatibility"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)))
|
||||
|
|
Loading…
Reference in a new issue