me
/
guix
Archived
1
0
Fork 0

gnu: python-curio: Disable newly failing 'test_timeout' test.

* gnu/packages/python-xyz.scm (python-prettytable)
[phases]{check}: Honor TESTS? and skip the 'test_timeout' test.
master
Maxim Cournoyer 2021-12-20 10:23:40 -05:00
parent 0557f78150
commit 0be45b28a9
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 10 additions and 5 deletions

View File

@ -11022,11 +11022,16 @@ printing of sub-tables by specifying a row range.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv" "-k"
(string-append
;; Tries to open an outgoing connection.
"not test_ssl_outgoing"))))))
"not test_ssl_outgoing "
;; This test fails since Python 3.9.9 (see:
;; https://github.com/dabeaz/curio/issues/347).
"and not test_timeout"))))))))
(native-inputs
(list python-pytest))
(home-page "https://github.com/dabeaz/curio")