Xfail Windows symlink-capable index mutation test · gitpython-developers/GitPython@ed8b620 · GitHub
Skip to content

Commit ed8b620

Browse files
codexByron
authored andcommitted
Xfail Windows symlink-capable index mutation test
The Windows CI jobs for PR 2140 failed in test/test_index.py::TestIndex::test_index_mutation. The failing checkout path creates my_fake_symlink and Git for Windows 2.54 reports a symlink warning before GitPython raises GitCommandError. This is the same unsupported Windows symlink behavior that the test already marks as an expected failure when core.symlinks is true. Detect Windows hosts that can create symlinks directly and include GitCommandError in the expected failure types, so symlink-capable Windows runners do not fail this unrelated Dependabot PR.
1 parent b17f113 commit ed8b620

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

test/test_index.py

Lines changed: 15 additions & 2 deletions

0 commit comments

Comments
 (0)