[9.18] Fix system test compatibility with old Python

Backport of MR !10797

Merge branch 'backport-pspacek/test-compatibility-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!10803
This commit is contained in:
Petr Špaček 2025-07-30 14:39:27 +00:00
commit 2e3afea920
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -273,7 +273,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"""