From 3717b71d154e0a2b5b12fd0979fba65558e2dfae Mon Sep 17 00:00:00 2001 From: Jason Boutte Date: Wed, 3 Aug 2022 15:20:56 -0700 Subject: [PATCH] Filters safe warnings. (#276) --- tests/test_regrid.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_regrid.py b/tests/test_regrid.py index a3e6d473..3b78502a 100644 --- a/tests/test_regrid.py +++ b/tests/test_regrid.py @@ -136,6 +136,7 @@ def setup(self): } ) + @pytest.mark.filterwarnings("ignore:.*invalid value.*true_divide.*:RuntimeWarning") def test_output_bounds(self): ds = fixtures.generate_dataset(cf_compliant=True, has_bounds=True) @@ -615,6 +616,7 @@ def test_invalid_tool(self): ): self.ac.horizontal("ts", mock.MagicMock(), "test") # type: ignore + @pytest.mark.filterwarnings("ignore:.*invalid value.*true_divide.*:RuntimeWarning") def test_convenience_methods(self): ds = fixtures.generate_dataset(cf_compliant=True, has_bounds=True)