Skip checkds test on Python<3.7

checkds test requires the capture_output argument for subprocess.run()
which was added in Python 3.7.

(cherry picked from commit 0361233b3d)
This commit is contained in:
Tom Krizek
2023-08-23 14:51:25 +02:00
parent 946bf10eff
commit d941dd151c
@@ -30,6 +30,11 @@ import dns.rdatatype
import dns.resolver
pytestmark = pytest.mark.skipif(
sys.version_info < (3, 7), reason="Python >= 3.7 required [GL #3001]"
)
def has_signed_apex_nsec(zone, response):
has_nsec = False
has_rrsig = False