diff --git a/tests/test_node.py b/tests/test_node.py index 485d8be..c281eb1 100644 --- a/tests/test_node.py +++ b/tests/test_node.py @@ -29,7 +29,7 @@ def layout(self, root, viewport): @prep_style_class class BrokenStyle(BaseStyle): def reapply(self): - raise Exception + raise AttributeError("Missing attribute, node not ready for style application") class IntrinsicSize(BaseIntrinsicSize): pass