summaryrefslogtreecommitdiff
path: root/git/test/lib/helper.py
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-08-14 17:19:19 +0800
committerSebastian Thiel <sthiel@thoughtworks.com>2019-08-14 17:19:19 +0800
commitd5cc590c875ada0c55d975cbe26141a94e306c94 (patch)
tree11609b42a0f226060aca1143f4304f008610eebd /git/test/lib/helper.py
parent5fa99bff215249378f90e1ce0254e66af155a301 (diff)
downloadgitpython-d5cc590c875ada0c55d975cbe26141a94e306c94.tar.gz
Fix performance regression, see #906
Revert "use git rev-parse to look for config file" This reverts commit 0b6b90f9f1e5310a6f39b75e17a04c1133269e8f. Fix #906 Reopen #719
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r--git/test/lib/helper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py
index 687db990..1c06010f 100644
--- a/git/test/lib/helper.py
+++ b/git/test/lib/helper.py
@@ -366,7 +366,8 @@ class TestBase(TestCase):
@classmethod
def tearDownClass(cls):
- del cls.rorepo.git
+ cls.rorepo.git.clear_cache()
+ cls.rorepo.git = None
def _make_file(self, rela_path, data, repo=None):
"""