mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 10:29:59 -04:00
[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:
commit
2e3afea920
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue