From be245dc7c3834890fe4f6642c7206c5ffa5e9397 Mon Sep 17 00:00:00 2001 From: Andrzej Klajnert Date: Sun, 11 Sep 2022 10:58:47 +0200 Subject: [PATCH] Add xfail to the recursive symlink tests --- testing/test_collection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testing/test_collection.py b/testing/test_collection.py index f308e9d75..01f2c471a 100644 --- a/testing/test_collection.py +++ b/testing/test_collection.py @@ -274,6 +274,7 @@ class TestCollectFS: items, reprec = pytester.inline_genitems() assert [x.name for x in items] == ["test_%s" % dirname] + @pytest.mark.xfail(sys.platform == "linux", reason="GitHub #624") @pytest.mark.parametrize("absolute", [True, False]) def test_recursive_symlinks(self, pytester, absolute): """Make sure recursive symlinks won't cause multiple collection of the same file.""" @@ -286,6 +287,7 @@ class TestCollectFS: items, _ = pytester.inline_genitems() assert len(items) == 1 + @pytest.mark.xfail(sys.platform == "linux", reason="GitHub #624") def test_multiple_recursive_symlinks(self, pytester): """Symlink points to recursive symlink. Should be resolved to the very end.""" directory = pytester.mkdir("dir")