From 43255b50f74786adc59e7df96e6ce6554715fac4 Mon Sep 17 00:00:00 2001 From: Nicoletta Farabullini <41536517+nfarabullini@users.noreply.github.com> Date: Mon, 2 Dec 2024 21:23:00 +0100 Subject: [PATCH] small fix --- tests/next_tests/integration_tests/cases.py | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/tests/next_tests/integration_tests/cases.py b/tests/next_tests/integration_tests/cases.py index 69c60eb25d..759cd1cf1f 100644 --- a/tests/next_tests/integration_tests/cases.py +++ b/tests/next_tests/integration_tests/cases.py @@ -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}, )