From 18524aadfa80f24d7e451765e441b3beabd72f5c Mon Sep 17 00:00:00 2001 From: Elias Sadek Date: Fri, 24 Nov 2023 18:04:32 +0000 Subject: [PATCH] hasn't this been a journey. Fixed error message --- .../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 03b9206f..25eb8e37 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 @@ -107,7 +107,7 @@ def test_invalid_args(): with pytest.raises(ValueError) as excinfo: _ = regrid_unstructured_to_unstructured(node_src, tgt, method="conservative") expected_message = ( - "Method.CONSERVATIVE regridding requires a source cube located on " + "Conservative regridding requires a source cube located on " "the face of a cube, target cube had the node location." ) assert expected_message in str(excinfo.value)