Skip to content

Commit 0042a8f

Browse files
committed
Add xfail to the recursive symlink tests
1 parent 569dfaf commit 0042a8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

testing/test_collection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def test_testpaths_ini(self, pytester: Pytester, monkeypatch: MonkeyPatch) -> No
274274
items, reprec = pytester.inline_genitems()
275275
assert [x.name for x in items] == ["test_%s" % dirname]
276276

277+
@pytest.mark.xfail(reason="GitHub #624")
277278
@pytest.mark.parametrize("absolute", [True, False])
278279
def test_recursive_symlinks(self, pytester, absolute):
279280
"""Make sure recursive symlinks won't cause multiple collection of the same file."""
@@ -286,6 +287,7 @@ def test_recursive_symlinks(self, pytester, absolute):
286287
items, _ = pytester.inline_genitems()
287288
assert len(items) == 1
288289

290+
@pytest.mark.xfail(reason="GitHub #624")
289291
def test_multiple_recursive_symlinks(self, pytester):
290292
"""Symlink points to recursive symlink. Should be resolved to the very end."""
291293
directory = pytester.mkdir("dir")

0 commit comments

Comments
 (0)