From f08b4eda6dee704ede90fdded5b6bc2b6324e1c1 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Thu, 15 Dec 2022 14:12:52 +0000 Subject: [PATCH] Swap final test to a screen type rather than instance See https://github.com/Textualize/textual/pull/1346#discussion_r1049678092 --- tests/test_binding_inheritance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_binding_inheritance.py b/tests/test_binding_inheritance.py index 074600cbb..945d80b33 100644 --- a/tests/test_binding_inheritance.py +++ b/tests/test_binding_inheritance.py @@ -587,7 +587,7 @@ class PriorityOverlapApp(AppKeyRecorder): Binding("f", "record('app_f')", "f", priority=False), ] - SCREENS = {"main": PriorityOverlapScreen()} + SCREENS = {"main": PriorityOverlapScreen} def on_mount(self) -> None: self.push_screen("main")