diff options
Diffstat (limited to 'pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py')
-rw-r--r-- | pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py b/pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py index 72700d3dbab38..d808c5b50c345 100644 --- a/pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py +++ b/pkgs/tools/nix/nixos-render-docs/src/tests/test_commonmark.py @@ -2,9 +2,8 @@ import nixos_render_docs as nrd from sample_md import sample1 -from typing import Mapping, Optional +from typing import Mapping -import markdown_it class Converter(nrd.md.Converter[nrd.commonmark.CommonMarkRenderer]): def __init__(self, manpage_urls: Mapping[str, str]): @@ -27,7 +26,7 @@ def test_indented_fence() -> None: def test_full() -> None: c = Converter({ 'man(1)': 'http://example.org' }) - assert c._render(sample1) == f"""\ + assert c._render(sample1) == """\ **Warning:** foo **Note:** nested |