From 73757ebf1cc629660b601987923c87df4f705995 Mon Sep 17 00:00:00 2001 From: zariiii9003 <52598363+zariiii9003@users.noreply.github.com> Date: Wed, 12 Jun 2024 23:20:04 +0200 Subject: [PATCH] remove abstractmethod --- can/listener.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/can/listener.py b/can/listener.py index e0024c683..1f19c3acd 100644 --- a/can/listener.py +++ b/can/listener.py @@ -46,8 +46,7 @@ def on_error(self, exc: Exception) -> None: """ raise NotImplementedError() - @abstractmethod - def stop(self) -> None: + def stop(self) -> None: # noqa: B027 """ Stop handling new messages, carry out any final tasks to ensure data is persisted and cleanup any open resources.