Skip to content

Commit cc34077

Browse files
committed
RF: use HIDE_WINDOWS_KNOWN_ERRORS instead of is_win to skip hooks tests
1 parent b4459ca commit cc34077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/test/test_index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
HOOKS_SHEBANG = "#!/usr/bin/env sh\n"
5858

5959

60-
@skipIf(is_win, "TODO: fix hooks execution on Windows: #703")
60+
@skipIf(HIDE_WINDOWS_KNOWN_ERRORS, "TODO: fix hooks execution on Windows: #703")
6161
def _make_hook(git_dir, name, content, make_exec=True):
6262
"""A helper to create a hook"""
6363
hp = hook_path(name, git_dir)

0 commit comments

Comments
 (0)