summaryrefslogtreecommitdiff
path: root/git/test/performance/test_odb.py
diff options
context:
space:
mode:
authorKostis Anagnostopoulos <ankostis@gmail.com>2016-10-03 12:25:09 +0200
committerKostis Anagnostopoulos <ankostis@gmail.com>2016-10-04 01:26:51 +0200
commitbe44602b633cfb49a472e192f235ba6de0055d38 (patch)
treef3bf2cf426e682aba1487174e7e38bd652b09a27 /git/test/performance/test_odb.py
parent86aa8738e0df54971e34f2e929484e0476c7f38a (diff)
downloadgitpython-be44602b633cfb49a472e192f235ba6de0055d38.tar.gz
hidden win-errs: Let leaking TCs run till end, then hide
+ Detect code breaking the body of TCs eventually hidden win-errors by raising SkipTest ALAP. + submodule.base.py: import classes from `git.objects` instead of `utils`. + had to ++ ulimit 100->110 for the extra code tested (more leaks :-) + Centralize is_win detection.
Diffstat (limited to 'git/test/performance/test_odb.py')
-rw-r--r--git/test/performance/test_odb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/test/performance/test_odb.py b/git/test/performance/test_odb.py
index 99b550ac..6f07a615 100644
--- a/git/test/performance/test_odb.py
+++ b/git/test/performance/test_odb.py
@@ -5,7 +5,7 @@ import sys
from time import time
from unittest.case import skipIf
-from git.compat import is_win, PY3
+from git.compat import PY3
from git.test.lib.helper import HIDE_WINDOWS_KNOWN_ERRORS
from .lib import (
@@ -15,7 +15,7 @@ from .lib import (
class TestObjDBPerformance(TestBigRepoR):
- @skipIf(HIDE_WINDOWS_KNOWN_ERRORS and is_win and PY3,
+ @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"]]