diff --git a/tests/test_binding_inheritance.py b/tests/test_binding_inheritance.py index 8f7029e35..f87cf5f66 100644 --- a/tests/test_binding_inheritance.py +++ b/tests/test_binding_inheritance.py @@ -640,7 +640,7 @@ async def test_skip_action() -> None: # Check the NoHandle widget has focus assert pilot.app.query_one(NoHandle).has_focus # Press the "t" key - await pilot.press("t") + await pilot.press("t", "_") # Check the action on the no handle widget was called assert no_handle_invoked # Check the return value, confirming that the action on Handle was called