From 6df78b19b7786b15c664a7a1e0bcbb3e7c80f8da Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Mon, 3 Oct 2016 03:22:18 +0200 Subject: Appveyor: Add and set HIDE_WINDOWS_KNOWN_ERRORS=False + Collect all "acknowledged" failing TCs on Appveyor and use "HIDE_WINDOWS_KNOWN_ERRORS" var to hide them. --- git/test/test_docs.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'git/test/test_docs.py') 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] -- cgit v1.2.1