Remove xfail on non-inherit-no-BINDINGS test

This now is fine thanks to #1352 fixing #1351.
This commit is contained in:
Dave Pearson
2022-12-13 16:59:05 +00:00
parent 1158bff4d2
commit 3f225469a5

View File

@@ -274,9 +274,6 @@ class AppWithScreenWithBindingsWidgetNoBindingsNoInherit(AppKeyRecorder):
def on_mount(self) -> None: def on_mount(self) -> None:
self.push_screen("main") self.push_screen("main")
@pytest.mark.xfail(
reason="A child widget that doesn't inherit bindings, but has no bindings, incorrectly defers to its parent class [issue#1351]"
)
async def test_focused_child_widget_no_inherit_with_movement_bindings_on_screen() -> None: async def test_focused_child_widget_no_inherit_with_movement_bindings_on_screen() -> None:
"""A focused child widget, that doesn't inherit bindings, with movement bindings in the screen, should trigger screen actions.""" """A focused child widget, that doesn't inherit bindings, with movement bindings in the screen, should trigger screen actions."""
async with AppWithScreenWithBindingsWidgetNoBindingsNoInherit().run_test() as pilot: async with AppWithScreenWithBindingsWidgetNoBindingsNoInherit().run_test() as pilot: