From c4f500d03211d7b4763a5443275e18b54e55f44c Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Tue, 31 Aug 2021 22:54:14 +0200
Subject: 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(-)

(limited to 'gnu/packages/python-xyz.scm')

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 @@ (define-public python-anyio
            (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"
 
-- 
cgit v1.2.3