summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-10-22 14:48:40 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-10-22 14:52:19 +0200
commit9db2ff10e59b2657220d1804df19fcf946539385 (patch)
tree531a06777a7377198442df5383979e7bc5aa18f8
parent3910abfc2ab12a5d5a210b71c43b7a2318311323 (diff)
downloadgitpython-9db2ff10e59b2657220d1804df19fcf946539385.tar.gz
fix(win_mmap): unmark hidden win_errors due to smmap unicode foes
Now 2 more TCs pass in Windows: + TestRepo.test_file_handle_leaks() + TestObjDbPerformance.test_random_access() See https://github.com/gitpython-developers/smmap/pull/30
-rw-r--r--git/test/performance/test_odb.py6
-rw-r--r--git/test/test_repo.py2
-rw-r--r--git/test/test_submodule.py1
3 files changed, 0 insertions, 9 deletions
diff --git a/git/test/performance/test_odb.py b/git/test/performance/test_odb.py
index 3879cb08..425af84a 100644
--- a/git/test/performance/test_odb.py
+++ b/git/test/performance/test_odb.py
@@ -3,10 +3,6 @@ from __future__ import print_function
import sys
from time import time
-from unittest.case import skipIf
-
-from git.compat import PY3
-from git.util import HIDE_WINDOWS_KNOWN_ERRORS
from .lib import (
TestBigRepoR
@@ -15,8 +11,6 @@ from .lib import (
class TestObjDBPerformance(TestBigRepoR):
- @skipIf(HIDE_WINDOWS_KNOWN_ERRORS and PY3,
- "FIXME: smmp fails with: TypeError: Can't convert 'bytes' object to str implicitly")
def test_random_access(self):
results = [["Iterate Commits"], ["Iterate Blobs"], ["Retrieve Blob Data"]]
for repo in (self.gitrorepo, self.puregitrorepo):
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index 8b644f7f..374a26ee 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -808,8 +808,6 @@ class TestRepo(TestBase):
git_file_repo = Repo(rwrepo.working_tree_dir)
self.assertEqual(osp.abspath(git_file_repo.git_dir), real_path_abs)
- @skipIf(HIDE_WINDOWS_KNOWN_ERRORS and PY3,
- "FIXME: smmp fails with: TypeError: Can't convert 'bytes' object to str implicitly")
def test_file_handle_leaks(self):
def last_commit(repo, rev, path):
commit = next(repo.iter_commits(rev, path, max_count=1))
diff --git a/git/test/test_submodule.py b/git/test/test_submodule.py
index e9fd8153..53f3c352 100644
--- a/git/test/test_submodule.py
+++ b/git/test/test_submodule.py
@@ -9,7 +9,6 @@ import git
from git.cmd import Git
from git.compat import (
string_types,
- is_win,
)
from git.exc import (
InvalidGitRepositoryError,