From d9a690419419ef0e8b30e4aa6a41d65247e21f5f Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 11 Jun 2022 12:46:54 -0700 Subject: [PATCH] on windows, skip curio xfr too --- tests/test_xfr.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_xfr.py b/tests/test_xfr.py index 2a739eaf..48935325 100644 --- a/tests/test_xfr.py +++ b/tests/test_xfr.py @@ -1,6 +1,7 @@ # Copyright (C) Dnspython Contributors, see LICENSE for text of ISC license import asyncio +import sys import pytest @@ -711,7 +712,10 @@ except ImportError: try: import curio - @pytest.mark.skipif(not _nanonameserver_available, reason="requires nanonameserver") + @pytest.mark.skipif( + (not _nanonameserver_available) or sys.platform == "win32", + reason="requires nanonameserver or is windows", + ) def test_curio_inbound_xfr(): dns.asyncbackend.set_default_backend("curio") -- 2.47.3