Mark test_conditional_includes_from_git_dir xfail on Windows · gitpython-developers/GitPython@4abab92 · GitHub
Skip to content

Commit 4abab92

Browse files
committed
Mark test_conditional_includes_from_git_dir xfail on Windows
As noted, the second of the config._included_paths() assertions fails, which is in the "Ensure that config is included if path is matching git_dir" sub-case. It is returning 0 on Windows. THe GitConfigParser._has_includes function returns the expression: self._merge_includes and len(self._included_paths()) Since _merge_includes is a bool, it appears the first branch of the "and" is True, but then _included_paths returns an empty list.
1 parent 42a3d74 commit 4abab92

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

test/test_config.py

Lines changed: 9 additions & 8 deletions

0 commit comments

Comments
 (0)