summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2022-06-11 12:46:54 -0700
committerBob Halley <halley@dnspython.org>2022-06-11 12:46:54 -0700
commitd9a690419419ef0e8b30e4aa6a41d65247e21f5f (patch)
tree182c5a53bc6dd0555ab8871c3d950cfecc432e4d /tests
parent5444777ecc65316022eeab2bb04f3785d8d7dad0 (diff)
downloaddnspython-d9a690419419ef0e8b30e4aa6a41d65247e21f5f.tar.gz
on windows, skip curio xfr too
Diffstat (limited to 'tests')
-rw-r--r--tests/test_xfr.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_xfr.py b/tests/test_xfr.py
index 2a739ea..4893532 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")