MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / test_non_utf8

Function test_non_utf8

tests/test_cli.py:25–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24
25def test_non_utf8():
26 with tempfile.TemporaryDirectory() as tempdir:
27 path = pathlib.Path(tempdir).joinpath("test.md")
28 path.write_bytes(b"\x80abc")
29 assert parse.main([str(path)]) == 0
30
31
32def test_print_heading():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…