Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
schlunma committed Aug 24, 2022
1 parent 54dac3f commit 7bc179a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/iris/tests/unit/coords/test_Coord.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ def test_numeric_nd_multidim_bounds_warning(self):
coord = AuxCoord(self.pts_real, bounds=self.bds_real, long_name="y")

with mock.patch("warnings.warn") as warn:
collapsed_coord = coord.collapsed()
coord.collapsed()

msg = (
"Collapsing a multi-dimensional coordinate. "
Expand All @@ -494,7 +494,7 @@ def test_lazy_nd_multidim_bounds_warning(self):
coord = AuxCoord(self.pts_lazy, bounds=self.bds_lazy, long_name="y")

with mock.patch("warnings.warn") as warn:
collapsed_coord = coord.collapsed()
coord.collapsed()

msg = (
"Collapsing a multi-dimensional coordinate. "
Expand All @@ -507,7 +507,7 @@ def test_numeric_nd_noncontiguous_bounds_warning(self):
coord = AuxCoord(self.pts_real, bounds=self.bds_real, long_name="y")

with mock.patch("warnings.warn") as warn:
collapsed_coord = coord.collapsed()
coord.collapsed()

msg = (
"Collapsing a non-contiguous coordinate. "
Expand All @@ -520,7 +520,7 @@ def test_lazy_nd_noncontiguous_bounds_warning(self):
coord = AuxCoord(self.pts_lazy, bounds=self.bds_lazy, long_name="y")

with mock.patch("warnings.warn") as warn:
collapsed_coord = coord.collapsed()
coord.collapsed()

msg = (
"Collapsing a non-contiguous coordinate. "
Expand Down

0 comments on commit 7bc179a

Please sign in to comment.