From: Tom Krizek Date: Tue, 22 Aug 2023 15:09:59 +0000 (+0200) Subject: Skip checkds test on Python<3.7 X-Git-Tag: v9.19.17~35^2~6 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0361233b3dfbb47fc544a7d4eccff71045156c26;p=thirdparty%2Fbind9.git Skip checkds test on Python<3.7 checkds test requires the capture_output argument for subprocess.run() which was added in Python 3.7. --- diff --git a/bin/tests/system/checkds/tests_checkds.py b/bin/tests/system/checkds/tests_checkds.py index 66932f1b4a5..99c91c6168a 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