diff --git a/src/_pytest/logging.py b/src/_pytest/logging.py index 421e5cebc..6381e86b0 100644 --- a/src/_pytest/logging.py +++ b/src/_pytest/logging.py @@ -63,7 +63,6 @@ class DatetimeFormatter(logging.Formatter): :func:`time.strftime` in case of microseconds in format string. """ - def formatTime(self, record: LogRecord, datefmt=None) -> str: if datefmt and "%f" in datefmt: ct = self.converter(record.created)