From 0a08219afd0c77e55a8e99f65ec87454849aaa16 Mon Sep 17 00:00:00 2001 From: Elias Sadek Date: Fri, 24 Nov 2023 17:04:55 +0000 Subject: [PATCH] fixed test failure --- .../test_regrid_unstructured_to_unstructured.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esmf_regrid/tests/unit/experimental/unstructured_scheme/test_regrid_unstructured_to_unstructured.py b/esmf_regrid/tests/unit/experimental/unstructured_scheme/test_regrid_unstructured_to_unstructured.py index 8be55fe9..15c2c5cd 100644 --- a/esmf_regrid/tests/unit/experimental/unstructured_scheme/test_regrid_unstructured_to_unstructured.py +++ b/esmf_regrid/tests/unit/experimental/unstructured_scheme/test_regrid_unstructured_to_unstructured.py @@ -102,7 +102,7 @@ def test_invalid_args(): face_src = _gridlike_mesh_cube(n_lons, n_lats, location="face") tgt = _gridlike_mesh_cube(n_lons, n_lats) - with pytest.raises(NotImplementedError): + with pytest.raises(ValueError): _ = regrid_unstructured_to_unstructured(face_src, tgt, method="other") with pytest.raises(ValueError) as excinfo: _ = regrid_unstructured_to_unstructured(node_src, tgt, method="conservative")