mirror of
https://github.com/dtomlinson91/panaetius.git
synced 2025-12-22 13:05:45 +00:00
change abc to raise NotImplementedError for tests
This commit is contained in:
@@ -98,11 +98,11 @@ class LoggingData(metaclass=ABCMeta):
|
||||
@property
|
||||
@abstractmethod
|
||||
def format(self) -> str:
|
||||
pass
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
def __init__(self, logging_level: str):
|
||||
self.logging_level = logging_level
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
class SimpleLogger(LoggingData):
|
||||
|
||||
Reference in New Issue
Block a user