Skip to content

Commit

Permalink
fix image_stack_test
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSullivan7 committed Jul 23, 2024
1 parent 189501a commit 7dcd41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mantidimaging/core/data/test/image_stack_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def test_image_eq_method(self):
self.assertRaises(ValueError, lambda a, b: a == b, data_images, 1.0)

def test_cant_change_id(self):
with self.assertRaisesRegex(Exception, "can't set attribute"):
with self.assertRaisesRegex(Exception, "property 'id' of 'ImageStack' object has no setter"):
generate_images().id = "id"

def test_default_name(self):
Expand Down

0 comments on commit 7dcd41c

Please sign in to comment.