Skip to content

Commit

Permalink
fix skip comment, remove unused helper function
Browse files Browse the repository at this point in the history
  • Loading branch information
halungge committed Dec 13, 2024
1 parent 7b08875 commit cc3b8b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def solve_tridiagonal_matrix_for_w_forward_sweep_numpy(

def test_solve_tridiagonal_matrix_for_w_forward_sweep(backend, grid):
if not helpers.is_gtfn(backend):
pytest.mark.xfail("Only supported by CPU backend")
pytest.skip("Skipping: Only supported by GTFN backend")
vwind_impl_wgt = helpers.random_field(grid, dims.CellDim, dtype=wpfloat)
theta_v_ic = helpers.random_field(grid, dims.CellDim, dims.KDim, dtype=wpfloat)
ddqz_z_half = helpers.random_field(grid, dims.CellDim, dims.KDim, dtype=vpfloat)
Expand Down
3 changes: 0 additions & 3 deletions model/common/src/icon4py/model/common/test_utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ def is_python(backend: gtx_backend.Backend) -> bool:
return is_embedded(backend) or is_roundtrip(backend)


def is_gtfn_cpu(backend: gtx_backend.Backend) -> bool:
return backend.name == "gtfn_cpu"


def is_gtfn(backend: gtx_backend.Backend) -> bool:
return "gtfn" in backend.name
Expand Down

0 comments on commit cc3b8b6

Please sign in to comment.