From 2cf035b87d0bd8fbd3d0bc8e3b2f51f82c8a00d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Mon, 2 Jun 2025 13:06:54 +0200 Subject: [PATCH] Use isctest library to check hypothesis version Side-effect of importing from isctest.hypothesis first is a version check and clean Pytest skip if version is too old. (cherry picked from commit 9cea2af25ca90b206c1a8a9255883b15097a9973) --- bin/tests/system/dnssec/tests_nsec3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/tests/system/dnssec/tests_nsec3.py b/bin/tests/system/dnssec/tests_nsec3.py index b06a3772fa..1f01074edb 100755 --- a/bin/tests/system/dnssec/tests_nsec3.py +++ b/bin/tests/system/dnssec/tests_nsec3.py @@ -27,12 +27,12 @@ import dns.rdataclass import dns.rdatatype import dns.rrset -from hypothesis import assume, given - from isctest.hypothesis.strategies import dns_names import isctest import isctest.name +from hypothesis import assume, given + SUFFIX = dns.name.from_text("nsec3.example.") AUTH = "10.53.0.3" RESOLVER = "10.53.0.4"