Skip to content

Commit 2562a2c

Browse files
fix failing doctest
1 parent e4fe584 commit 2562a2c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

frontmatter/default_handlers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ def export(self, metadata: dict[str, object], **kwargs: object) -> str:
317317
return u(metadata_str)
318318

319319

320+
_TOMLHandler.__name__ = "TOMLHandler"
321+
320322
if toml:
321323
TOMLHandler: Type[_TOMLHandler] | None = _TOMLHandler
322324
else:

0 commit comments

Comments
 (0)