Skip to content

Commit

Permalink
Filters safe warnings. (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 authored Aug 3, 2022
1 parent 8179635 commit 3717b71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_regrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 3717b71

Please sign in to comment.