diff options
author | Bob Halley <halley@dnspython.org> | 2022-06-11 12:46:54 -0700 |
---|---|---|
committer | Bob Halley <halley@dnspython.org> | 2022-06-11 12:46:54 -0700 |
commit | d9a690419419ef0e8b30e4aa6a41d65247e21f5f (patch) | |
tree | 182c5a53bc6dd0555ab8871c3d950cfecc432e4d /tests | |
parent | 5444777ecc65316022eeab2bb04f3785d8d7dad0 (diff) | |
download | dnspython-d9a690419419ef0e8b30e4aa6a41d65247e21f5f.tar.gz |
on windows, skip curio xfr too
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_xfr.py | 6 |
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") |