diff options
Diffstat (limited to 'tests/test_core_events.py')
-rw-r--r-- | tests/test_core_events.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/test_core_events.py b/tests/test_core_events.py index a531bab..d2b7c94 100644 --- a/tests/test_core_events.py +++ b/tests/test_core_events.py @@ -105,9 +105,7 @@ def test_event_dispatcher(capsys: pytest.CaptureFixture) -> None: class SampleEventHandler(EventDispatcher): """Sample event handler.""" - def on_sample_event( # pylint: disable=no-self-use - self, _event: SampleEvent - ) -> None: + def on_sample_event(self, _event: SampleEvent) -> None: """Event handler for SampleEvent.""" print("Got sample event") |