summaryrefslogtreecommitdiff
path: root/git/test/test_base.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-09-26 12:32:28 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-09-26 20:53:48 +0200
commit7bbaac26906863b9a09158346218457befb2821a (patch)
tree974f70d101ce4613aecaf793b2b82e72b96cc56c /git/test/test_base.py
parentfa70623a651d2a0b227202cad1e526e3eeebfa00 (diff)
downloadgitpython-7bbaac26906863b9a09158346218457befb2821a.tar.gz
test, #519: Popen() universal_newlin.es NoWindow in Winfoes
+ More win-fixes: + Do not check unicode files in < py3. + util, #519: x4 timeout of lock-file blocking, failing in Appveyor.
Diffstat (limited to 'git/test/test_base.py')
-rw-r--r--git/test/test_base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/git/test/test_base.py b/git/test/test_base.py
index c17e04e7..22006470 100644
--- a/git/test/test_base.py
+++ b/git/test/test_base.py
@@ -7,6 +7,7 @@
import os
import sys
import tempfile
+from unittest import skipIf
import git.objects.base as base
from git.test.lib import (
@@ -116,6 +117,8 @@ class TestBase(TestBase):
assert rw_remote_repo.config_reader("repository").getboolean("core", "bare")
assert os.path.isdir(os.path.join(rw_repo.working_tree_dir, 'lib'))
+ @skipIf(sys.version_info < (3, ) and os.name == 'nt',
+ "Unicode woes, see https://github.com/gitpython-developers/GitPython/pull/519")
@with_rw_repo('0.1.6')
def test_add_unicode(self, rw_repo):
filename = u"שלום.txt"