Skip to content

Commit f08b4ed

Browse files
committed
Swap final test to a screen type rather than instance
See #1346 (comment)
1 parent 7397cff commit f08b4ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_binding_inheritance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ class PriorityOverlapApp(AppKeyRecorder):
587587
Binding("f", "record('app_f')", "f", priority=False),
588588
]
589589

590-
SCREENS = {"main": PriorityOverlapScreen()}
590+
SCREENS = {"main": PriorityOverlapScreen}
591591

592592
def on_mount(self) -> None:
593593
self.push_screen("main")

0 commit comments

Comments
 (0)