diff --git a/bin/tests/system/isctest/name.py b/bin/tests/system/isctest/name.py index 255150e837..7cf3e8d696 100644 --- a/bin/tests/system/isctest/name.py +++ b/bin/tests/system/isctest/name.py @@ -13,7 +13,7 @@ from typing import Container, Iterable, FrozenSet import pytest -pytest.importorskip("dns", minversion="2.1.0") # NameRelation +pytest.importorskip("dns", minversion="2.3.0") # NameRelation from dns.name import Name, NameRelation import dns.zone import dns.rdatatype diff --git a/bin/tests/system/nsec3-answer/tests_nsec3.py b/bin/tests/system/nsec3-answer/tests_nsec3.py index 8396e9bb5e..33d16aca7f 100755 --- a/bin/tests/system/nsec3-answer/tests_nsec3.py +++ b/bin/tests/system/nsec3-answer/tests_nsec3.py @@ -268,7 +268,7 @@ def check_wildcard_synthesis(qname: dns.name.Name, nsec3check: "NSEC3Checker") - nsec3check.check_extraneous_rrs() -@dataclass(kw_only=True, frozen=True) +@dataclass(frozen=True) class NSEC3Params: """Common values from a single DNS response"""