Skip to content

Commit 25d6999

Browse files
authored
remove abstractmethod (#1795)
1 parent 1ce550c commit 25d6999

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

can/listener.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ def on_error(self, exc: Exception) -> None:
4646
"""
4747
raise NotImplementedError()
4848

49-
@abstractmethod
50-
def stop(self) -> None:
49+
def stop(self) -> None: # noqa: B027
5150
"""
5251
Stop handling new messages, carry out any final tasks to ensure
5352
data is persisted and cleanup any open resources.

0 commit comments

Comments
 (0)