From: Bob Halley Date: Mon, 10 Oct 2022 01:00:19 +0000 (-0700) Subject: add missing skip marks X-Git-Tag: v2.3.0rc1~31^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b67651eb5b7917803a5df450fafa42fc9e45391;p=thirdparty%2Fdnspython.git add missing skip marks --- diff --git a/tests/test_doq.py b/tests/test_doq.py index 571581a4..254b578e 100644 --- a/tests/test_doq.py +++ b/tests/test_doq.py @@ -38,6 +38,7 @@ async def amain(): assert r.rcode() == dns.rcode.REFUSED +@pytest.mark.skipif(not _nanoquic_available, reason="requires nanoquic") def test_basic_asyncio(): dns.asyncbackend.set_default_backend("asyncio") with Server() as server: @@ -47,6 +48,7 @@ def test_basic_asyncio(): try: import trio + @pytest.mark.skipif(not _nanoquic_available, reason="requires nanoquic") def test_basic_trio(): dns.asyncbackend.set_default_backend("trio") with Server() as server: