diff options
author | Yaroslav Halchenko <debian@onerussian.com> | 2017-11-28 12:34:43 -0500 |
---|---|---|
committer | Yaroslav Halchenko <debian@onerussian.com> | 2017-11-28 12:34:43 -0500 |
commit | cc340779c5cd6efb6ac3c8d21141638970180f41 (patch) | |
tree | 9faa76f400da8f3cd7e30d27bdb84880a4e1b116 /git/test/test_index.py | |
parent | b4459ca7fd21d549a2342a902cfdeba10c76a022 (diff) | |
download | gitpython-cc340779c5cd6efb6ac3c8d21141638970180f41.tar.gz |
RF: use HIDE_WINDOWS_KNOWN_ERRORS instead of is_win to skip hooks tests
Diffstat (limited to 'git/test/test_index.py')
-rw-r--r-- | git/test/test_index.py | 2 |
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) |