--- pytest-8.3.3/testing/_py/test_local.py.orig +++ pytest-8.3.3/testing/_py/test_local.py @@ -621,6 +621,7 @@ assert str(local()) == os.getcwd() @skiponwin32 + @pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/11402") def test_chdir_gone(self, path1): p = path1.ensure("dir_to_be_removed", dir=1) p.chdir() @@ -634,6 +635,7 @@ raise NotImplementedError @skiponwin32 + @pytest.mark.skip(reason="always fails: https://github.com/pytest-dev/pytest/issues/11402") def test_chdir_gone_in_as_cwd(self, path1): p = path1.ensure("dir_to_be_removed", dir=1) p.chdir()