Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Deconinck committed Sep 19, 2024
1 parent d5f3c25 commit 0f15c86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def test_K_offset_write(backend):
pytest.skip(
"gt:gpu backend with CUDA 11 is not capable of K offset write, update CUDA if possible"
)

arraylib = get_array_library(backend)
array_shape = (1, 1, 4)
K_values = arraylib.arange(start=40, stop=44)
Expand Down Expand Up @@ -662,7 +662,7 @@ def backward(A: Field[np.float64], B: Field[np.float64], scalar: np.float64):
assert (B[:, :, :] == A[:, :, :]).all()


@pytest.mark.parametrize("backend", ["gt:gpu"])
@pytest.mark.parametrize("backend", ALL_BACKENDS)
def test_K_offset_write_conditional(backend):
if backend == "cuda":
pytest.skip("Cuda backend is not capable of K offset write")
Expand Down

0 comments on commit 0f15c86

Please sign in to comment.