From 934eb903881d6d0c3de2bae0956b10e14504a979 Mon Sep 17 00:00:00 2001 From: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> Date: Wed, 1 Dec 2021 22:05:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20TESTS:=20Remove=20needless=20xfa?= =?UTF-8?q?il=20(#180)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 3 +++ tests/test_port/test_fixtures.py | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ead8162b..f7e22d4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ [build-system] requires = ["setuptools>=46.4.0", "wheel"] build-backend = "setuptools.build_meta" + +[tool.pytest.ini_options] +xfail_strict = true diff --git a/tests/test_port/test_fixtures.py b/tests/test_port/test_fixtures.py index a789fb1f..5117c5e1 100644 --- a/tests/test_port/test_fixtures.py +++ b/tests/test_port/test_fixtures.py @@ -77,12 +77,6 @@ def test_commonmark_extras(line, title, input, expected): read_fixture_file(FIXTURE_PATH.joinpath("normalize.md")), ) def test_normalize_url(line, title, input, expected): - if title in { - "Keep %25 as is because decoding it may break urls, #720", - "Square brackets are allowed", - }: - # TODO fix failing url escaping test - pytest.xfail("url normalisation") md = MarkdownIt("commonmark") text = md.render(input) assert text.rstrip() == expected.rstrip()