Skip to content

Commit 16b8537

Browse files
authored
🧪 TEST: Enable typographer to fix skipped (#105)
1 parent a566e39 commit 16b8537

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_port/test_fixtures.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,11 @@ def test_normalize_url(line, title, input, expected):
8686
"line,title,input,expected", read_fixture_file(FIXTURE_PATH.joinpath("fatal.md"))
8787
)
8888
def test_fatal(line, title, input, expected):
89-
if line in [1, 17, 25]:
89+
if line in [1, 17]:
9090
# TODO fix failing url escaping tests
9191
pytest.skip("url normalisation")
92-
md = MarkdownIt("commonmark")
92+
md = MarkdownIt("commonmark").enable("replacements")
93+
md.options["typographer"] = True
9394
text = md.render(input)
9495
if text.rstrip() != expected.rstrip():
9596
print(text)

0 commit comments

Comments
 (0)