From c4f500d03211d7b4763a5443275e18b54e55f44c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 31 Aug 2021 22:54:14 +0200 Subject: [PATCH] gnu: python-anyio: Avoid failing tests. * gnu/packages/python-xyz.scm (python-anyio)[arguments]: Disable asyncio plugin, and explicitly disable network tests. --- gnu/packages/python-xyz.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 07c9127c19..7be4b6a1ff 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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"