mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.20] fix: dev: Make hypothesis optional for system tests
Ensure that system tests can be executed without Python hypothesis package. Closes #4831 Backport of MR !9265 Merge branch 'backport-4831-isctest-make-hypothesis-optional-9.20' into 'bind-9.20' See merge request isc-projects/bind9!9267
This commit is contained in:
commit
c5f1cb8a04
1 changed files with 7 additions and 2 deletions
|
|
@ -9,5 +9,10 @@
|
|||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
from . import settings
|
||||
from . import strategies
|
||||
try:
|
||||
import hypothesis as _
|
||||
except ImportError:
|
||||
pass
|
||||
else:
|
||||
from . import settings
|
||||
from . import strategies
|
||||
|
|
|
|||
Loading…
Reference in a new issue