Skip to content

Commit 2fbc419

Browse files
authored
🧪 TESTS: Use pytest.xfail not pytest.skip (#147)
1 parent 8e8d1e7 commit 2fbc419

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_port/test_fixtures.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def test_commonmark_extras(line, title, input, expected):
6767
if line in [74, 88]:
6868
# TODO fix failing escaping tests
6969
# probably requires a fix of common.utils.stripEscape
70-
pytest.skip("escaping entities in link titles / fence.info")
70+
pytest.xfail("escaping entities in link titles / fence.info")
7171
md = MarkdownIt("commonmark")
7272
md.options["langPrefix"] = ""
7373
text = md.render(input)
@@ -83,7 +83,7 @@ def test_commonmark_extras(line, title, input, expected):
8383
def test_normalize_url(line, title, input, expected):
8484
if "Keep %25" in title:
8585
# TODO fix failing url escaping test
86-
pytest.skip("url normalisation")
86+
pytest.xfail("url normalisation")
8787
md = MarkdownIt("commonmark")
8888
text = md.render(input)
8989
assert text.rstrip() == expected.rstrip()
@@ -95,7 +95,7 @@ def test_normalize_url(line, title, input, expected):
9595
def test_fatal(line, title, input, expected):
9696
if line in [1, 17]:
9797
# TODO fix failing url escaping tests
98-
pytest.skip("url normalisation")
98+
pytest.xfail("url normalisation")
9999
md = MarkdownIt("commonmark").enable("replacements")
100100
md.options["typographer"] = True
101101
text = md.render(input)

0 commit comments

Comments
 (0)