Fix system test compatibility with old Python

Merge branch 'pspacek/test-compatibility' into 'main'

See merge request isc-projects/bind9!10797
This commit is contained in:
Petr Špaček 2025-07-30 14:35:45 +00:00
commit 48f8b14192
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

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