Make hypothesis optional for system tests
Ensure that system tests can be executed without Python hypothesis package.
This commit is contained in:
committed by
Petr Špaček
parent
7facf967ac
commit
e6a7695600
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user