From 0361233b3dfbb47fc544a7d4eccff71045156c26 Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Tue, 22 Aug 2023 17:09:59 +0200 Subject: [PATCH] Skip checkds test on Python<3.7 checkds test requires the capture_output argument for subprocess.run() which was added in Python 3.7. --- bin/tests/system/checkds/tests_checkds.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/tests/system/checkds/tests_checkds.py b/bin/tests/system/checkds/tests_checkds.py index 66932f1b4a..99c91c6168 100755 --- a/bin/tests/system/checkds/tests_checkds.py +++ b/bin/tests/system/checkds/tests_checkds.py @@ -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