]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
on windows, skip curio xfr too
authorBob Halley <halley@dnspython.org>
Sat, 11 Jun 2022 19:46:54 +0000 (12:46 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 11 Jun 2022 19:46:54 +0000 (12:46 -0700)
tests/test_xfr.py

index 2a739eaf031894273909c23cd8ba7eee711e0bf9..4893532546bf26cf995734dc917c49edaf0bb900 100644 (file)
@@ -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")