3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: python-anyio: Avoid failing tests.

* gnu/packages/python-xyz.scm (python-anyio)[arguments]: Disable asyncio
plugin, and explicitly disable network tests.
This commit is contained in:
Ricardo Wurmus 2021-08-31 22:54:14 +02:00
parent 73995969b1
commit c4f500d032
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -23066,7 +23066,9 @@ standard error channel (stderr) in your program.")
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv" "-k"
(invoke "pytest" "-vv" "-p" "no:asyncio"
"-m" "not network"
"-k"
(string-append
"not test_is_block_device"