From 32bcb6a035dd95f9b231e6815d7b7d48396c2523 Mon Sep 17 00:00:00 2001 From: Till Ehrengruber Date: Mon, 21 Aug 2023 09:44:20 +0200 Subject: [PATCH] Fix CI --- .../feature_tests/ffront_tests/test_program.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/next_tests/integration_tests/feature_tests/ffront_tests/test_program.py b/tests/next_tests/integration_tests/feature_tests/ffront_tests/test_program.py index f12e10fcab..d66f8f2bf3 100644 --- a/tests/next_tests/integration_tests/feature_tests/ffront_tests/test_program.py +++ b/tests/next_tests/integration_tests/feature_tests/ffront_tests/test_program.py @@ -20,6 +20,7 @@ import pytest import gt4py.next as gtx +from gt4py.next import errors from gt4py.next.program_processors.runners import dace_iterator from next_tests.integration_tests import cases @@ -227,7 +228,7 @@ def test_wrong_argument_type(cartesian_case, copy_program_def): inp = gtx.np_as_located_field(JDim)(np.ones((cartesian_case.default_sizes[JDim],))) out = cases.allocate(cartesian_case, copy_program, "out").strategy(cases.ConstInitializer(1))() - with pytest.raises(TypeError) as exc_info: + with pytest.raises(errors.DSLError) as exc_info: # program is defined on Field[[IDim], ...], but we call with # Field[[JDim], ...] copy_program(inp, out, offset_provider={})