Skip to content

Commit

Permalink
Fix one test
Browse files Browse the repository at this point in the history
  • Loading branch information
samkellerhals committed Dec 14, 2023
1 parent 2af5052 commit 7872ae3
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ def reference(

@pytest.fixture
def input_data(self, grid, backend):
if isinstance(backend, OTFCompileExecutor):
pytest.skip(
"Execution domain needs to be restricted or boundary taken into account in stencil."
)
if hasattr(backend, 'executor'):
if isinstance(backend.executor, OTFCompileExecutor):
pytest.skip(
"Execution domain needs to be restricted or boundary taken into account in stencil."
)
kh_smag_e = random_field(grid, EdgeDim, KDim, dtype=vpfloat)
inv_dual_edge_length = random_field(grid, EdgeDim, dtype=wpfloat)
theta_v = random_field(grid, CellDim, KDim, dtype=wpfloat)
Expand Down

0 comments on commit 7872ae3

Please sign in to comment.