From: Michal Nowak Date: Sun, 24 May 2026 18:29:55 +0000 (+0000) Subject: Remove redundant Python 3.7 skip markers from system tests X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=c41f63c82d7ed26b41bc9b756941be8d076612a3;p=thirdparty%2Fbind9.git Remove redundant Python 3.7 skip markers from system tests The test framework already requires Python 3.10+ (conftest.py raises RuntimeError if version < 3.10), so skipif(sys.version_info < (3, 7)) can never trigger. Remove the dead markers and now-unused sys imports. Assisted-by: Claude:claude-opus-4-7 --- diff --git a/bin/tests/system/checkds/tests_checkds.py b/bin/tests/system/checkds/tests_checkds.py index 2b081f420ca..d58f3134a5b 100755 --- a/bin/tests/system/checkds/tests_checkds.py +++ b/bin/tests/system/checkds/tests_checkds.py @@ -15,7 +15,6 @@ from typing import NamedTuple import os -import sys import time import dns.name @@ -27,9 +26,6 @@ import pytest import isctest pytestmark = [ - pytest.mark.skipif( - sys.version_info < (3, 7), reason="Python >= 3.7 required [GL #3001]" - ), pytest.mark.extra_artifacts( [ "*.out", diff --git a/bin/tests/system/optout/tests_optout.py b/bin/tests/system/optout/tests_optout.py index f7be26d6e90..f8d17ce3cda 100755 --- a/bin/tests/system/optout/tests_optout.py +++ b/bin/tests/system/optout/tests_optout.py @@ -14,7 +14,6 @@ import os import re -import sys import dns.query import dns.rcode @@ -24,9 +23,6 @@ import pytest import isctest pytestmark = [ - pytest.mark.skipif( - sys.version_info < (3, 7), reason="Python >= 3.7 required [GL #3001]" - ), pytest.mark.extra_artifacts( [ "*.out",