summaryrefslogtreecommitdiff
path: root/git/test/test_index.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/test_index.py')
-rw-r--r--git/test/test_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_index.py b/git/test/test_index.py
index 8431ba71..757bec9f 100644
--- a/git/test/test_index.py
+++ b/git/test/test_index.py
@@ -57,7 +57,7 @@ from git.cmd import Git
HOOKS_SHEBANG = "#!/usr/bin/env sh\n"
-@skipIf(is_win, "TODO: fix hooks execution on Windows: #703")
+@skipIf(HIDE_WINDOWS_KNOWN_ERRORS, "TODO: fix hooks execution on Windows: #703")
def _make_hook(git_dir, name, content, make_exec=True):
"""A helper to create a hook"""
hp = hook_path(name, git_dir)