]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove redundant Python 3.7 skip markers from system tests 12160/head
authorMichal Nowak <mnowak@isc.org>
Sun, 24 May 2026 18:29:55 +0000 (18:29 +0000)
committerMichal Nowak <mnowak@isc.org>
Mon, 1 Jun 2026 17:39:22 +0000 (19:39 +0200)
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
(cherry picked from commit c41f63c82d7ed26b41bc9b756941be8d076612a3)

bin/tests/system/checkds/tests_checkds.py
bin/tests/system/optout/tests_optout.py

index 2b081f420ca3d2aed358de1d0701932b17de584d..d58f3134a5b397dd65c6de03f506383a7664907c 100755 (executable)
@@ -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",
index f7be26d6e908151af8265490fdffa224de2869cd..f8d17ce3cda5db3ff363e4c4139bb454e4eb5d83 100755 (executable)
@@ -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",