mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-16 20:10:39 +02: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:
parent
73995969b1
commit
c4f500d032
1 changed files with 3 additions and 1 deletions
|
@ -23066,7 +23066,9 @@ standard error channel (stderr) in your program.")
|
||||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||||
(when tests?
|
(when tests?
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(invoke "pytest" "-vv" "-k"
|
(invoke "pytest" "-vv" "-p" "no:asyncio"
|
||||||
|
"-m" "not network"
|
||||||
|
"-k"
|
||||||
(string-append
|
(string-append
|
||||||
"not test_is_block_device"
|
"not test_is_block_device"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue