mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update tests/test_binding_inheritance.py
Co-authored-by: darrenburns <darrenburns@users.noreply.github.com>
This commit is contained in:
@@ -611,7 +611,7 @@ async def test_overlapping_priority_bindings() -> None:
|
|||||||
|
|
||||||
|
|
||||||
async def test_skip_action() -> None:
|
async def test_skip_action() -> None:
|
||||||
"""Test that a binding may be skipped by an action returning False"""
|
"""Test that a binding may be skipped by an action raising SkipAction"""
|
||||||
|
|
||||||
class Handle(Widget, can_focus=True):
|
class Handle(Widget, can_focus=True):
|
||||||
BINDINGS = [("t", "test('foo')", "Test")]
|
BINDINGS = [("t", "test('foo')", "Test")]
|
||||||
|
|||||||
Reference in New Issue
Block a user