Skip to content

Commit

Permalink
fixed test now that self._shape is always set
Browse files Browse the repository at this point in the history
  • Loading branch information
ESadek-MO committed Dec 24, 2024
1 parent ed75485 commit 9221917
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/iris/tests/unit/data_manager/test_DataManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def setUp(self):

def test_array_none(self):
self.dm._real_array = None
self.dm._shape = None
emsg = "Unexpected data state, got no lazy or real data, and no shape."
with self.assertRaisesRegex(ValueError, emsg):
self.dm._assert_axioms()
Expand Down

0 comments on commit 9221917

Please sign in to comment.