mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 10:32:13 -04:00
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:
commit
48f8b14192
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
|
||||
|
|
|
|||
|
|
@ -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"""
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue