Skip to content

Commit 5ee69d9

Browse files
committed
chore: coverage
1 parent fb05528 commit 5ee69d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda_powertools/logging/formatter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def format(self, record: logging.LogRecord) -> str: # noqa: A003
142142
def formatTime(self, record: logging.LogRecord, datefmt: Optional[str] = None) -> str:
143143
record_ts = self.converter(record.created) # type: ignore
144144

145-
if datefmt is None:
145+
if datefmt is None: # pragma: no cover, it'll always be None in std logging, but mypy
146146
datefmt = self.datefmt
147147

148148
# NOTE: Python `time.strftime` doesn't provide msec directives

0 commit comments

Comments
 (0)