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")