From: Bob Halley Date: Sat, 11 Jun 2022 19:46:54 +0000 (-0700) Subject: on windows, skip curio xfr too X-Git-Tag: v2.3.0rc1~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9a690419419ef0e8b30e4aa6a41d65247e21f5f;p=thirdparty%2Fdnspython.git on windows, skip curio xfr too --- 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")