We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21c3766 commit a8d15b7Copy full SHA for a8d15b7
1 file changed
tests/test_mpi.py
@@ -21,7 +21,10 @@
21
from devito.tools import Bunch
22
23
from examples.seismic.acoustic import acoustic_setup
24
-from tests.test_dse import TestTTI
+try:
25
+ from tests.test_dse import TestTTI
26
+except ImportError:
27
+ TestTTI = None
28
29
30
class TestDistributor:
@@ -2982,6 +2985,7 @@ def test_issue_2448_backward(self, mode):
2982
2985
2983
2986
class TestTTIOp:
2984
2987
2988
+ @pytest.mark.skipif(TestTTI is None, reason="Requires installing the tests")
2989
@pytest.mark.parallel(mode=1)
2990
def test_halo_structure(self, mode):
2991
solver = TestTTI().tti_operator(opt='advanced', space_order=8)
0 commit comments