mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Tests depending on the hypothesis module should be skipped if the module is not available. Signed-off-by: Joe Slater <joe.slater@windriver.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 lines
246 B
Diff
11 lines
246 B
Diff
--- a/tests/hypothesis/__init__.py
|
|
+++ b/tests/hypothesis/__init__.py
|
|
@@ -3,3 +3,7 @@
|
|
# for complete details.
|
|
|
|
from __future__ import absolute_import, division, print_function
|
|
+
|
|
+import pytest
|
|
+hypothesis = pytest.importorskip("hypothesis")
|
|
+
|