Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nfarabullini committed Dec 2, 2024
1 parent 667642c commit 43255b5
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions tests/next_tests/integration_tests/cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,21 +507,10 @@ def unstructured_case(

@pytest.fixture
def unstructured_case_3d(unstructured_case):
return dataclasses.replace(unstructured_case, default_sizes={**unstructured_case.default_sizes, KDim: 10}, offset_provider={**unstructured_case.offset_provider, "KOff": KDim})
new_offset_provider = {**mesh_descriptor.offset_provider, "KOff": KDim}
yield Case(
None
if isinstance(exec_alloc_descriptor, test_definitions.EmbeddedDummyBackend)
else exec_alloc_descriptor,
offset_provider=new_offset_provider,
default_sizes={
Vertex: mesh_descriptor.num_vertices,
Edge: mesh_descriptor.num_edges,
Cell: mesh_descriptor.num_cells,
KDim: 10,
},
grid_type=common.GridType.UNSTRUCTURED,
allocator=exec_alloc_descriptor.allocator,
return dataclasses.replace(
unstructured_case,
default_sizes={**unstructured_case.default_sizes, KDim: 10},
offset_provider={**unstructured_case.offset_provider, "KOff": KDim},
)


Expand Down

0 comments on commit 43255b5

Please sign in to comment.