diff options
author | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-03 03:22:18 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-03 04:00:11 +0200 |
commit | 6df78b19b7786b15c664a7a1e0bcbb3e7c80f8da (patch) | |
tree | a0cacbd94958abc842059907aca9b9c07836bdf7 /git/test/test_docs.py | |
parent | 1b440827a04ad23efb891eff28d90f172723c75d (diff) | |
download | gitpython-6df78b19b7786b15c664a7a1e0bcbb3e7c80f8da.tar.gz |
Appveyor: Add and set HIDE_WINDOWS_KNOWN_ERRORS=Falsewinerr_show
+ Collect all "acknowledged" failing TCs on Appveyor and use
"HIDE_WINDOWS_KNOWN_ERRORS" var to hide them.
Diffstat (limited to 'git/test/test_docs.py')
-rw-r--r-- | git/test/test_docs.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py index 8a2dff0f..84112c1d 100644 --- a/git/test/test_docs.py +++ b/git/test/test_docs.py @@ -5,7 +5,11 @@ # This module is part of GitPython and is released under # the BSD License: http://www.opensource.org/licenses/bsd-license.php import os +import sys +from unittest.case import skipIf +from git.compat import is_win +from git.test.lib.helper import HIDE_WINDOWS_KNOWN_ERRORS from git.test.lib import TestBase from git.test.lib.helper import with_rw_directory @@ -16,6 +20,9 @@ class Tutorials(TestBase): import gc gc.collect() + @skipIf(HIDE_WINDOWS_KNOWN_ERRORS and is_win and sys.version_info[:2] in ((2, 7), (3, 4)), + "FIXME: helper.wrapper fails with: PermissionError: [WinError 5] Access is denied: " + "'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\test_work_tree_unsupportedryfa60di\\master_repo\\.git\\objects\\pack\\pack-bc9e0787aef9f69e1591ef38ea0a6f566ec66fe3.idx") # noqa E501 @with_rw_directory def test_init_repo_object(self, rw_dir): # [1-test_init_repo_object] |