Skip to content

Commit

Permalink
Raise instance/subclass
Browse files Browse the repository at this point in the history
  • Loading branch information
HalfWhitt committed Nov 4, 2024
1 parent 603adbc commit fb33dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb33dc1

Please sign in to comment.