From 23724c22c9d22a1dc1c1b936a663d64e0a3744ae Mon Sep 17 00:00:00 2001 From: Larry Bradley Date: Thu, 16 Nov 2023 13:31:30 -0500 Subject: [PATCH] Use file_format keyword in array_compare --- regions/shapes/tests/test_masks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regions/shapes/tests/test_masks.py b/regions/shapes/tests/test_masks.py index 716b0da9..8c68a167 100644 --- a/regions/shapes/tests/test_masks.py +++ b/regions/shapes/tests/test_masks.py @@ -42,7 +42,7 @@ def label(value): for key, value in sorted(value.items())) -@pytest.mark.array_compare(fmt='text', write_kwargs={'fmt': '%12.8e'}) +@pytest.mark.array_compare(file_format='text', write_kwargs={'fmt': '%12.8e'}) @pytest.mark.parametrize(('region', 'mode'), itertools.product(REGIONS, MODES), ids=label) def test_to_mask(region, mode):