Skip to content

Commit 1a37b6e

Browse files
committed
Fix regexp in test
Signed-off-by: Alexandre Ghelfi <alexandre.ghelfi@helsing.ai>
1 parent 3f297db commit 1a37b6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

warp/tests/test_struct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ def test_struct_property(test, device):
924924

925925
def test_struct_property_with_setter(test, device):
926926
"""Tests that structs with properties (setters) are not supported."""
927-
with test.assertRaisesRegex(TypeError, "Struct properties do not support setters"):
927+
with test.assertRaisesRegex(TypeError, "Struct properties with setters are not supported"):
928928

929929
@wp.struct
930930
class StructWithPropertySetter:

0 commit comments

Comments
 (0)