From 4b67651eb5b7917803a5df450fafa42fc9e45391 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sun, 9 Oct 2022 18:00:19 -0700 Subject: [PATCH] add missing skip marks --- tests/test_doq.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.47.3