diff --git a/lib/iris/tests/test_cell.py b/lib/iris/tests/test_cell.py index 1e24df3434..13484aadfe 100644 --- a/lib/iris/tests/test_cell.py +++ b/lib/iris/tests/test_cell.py @@ -96,6 +96,9 @@ def test_in(self): assert c not in [3, c2] def test_coord_equality(self): + # NOTE: These comparisons intentionally use explicit operators to ensure each + # rich comparison method (__eq__, __ne__, __lt__, __le__, __gt__, __ge__) is + # exercised. self.d = iris.coords.Cell(1.9, None) assert self.d == 1.9 assert not self.d == [1.5, 1.9]