diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-08-14 17:19:19 +0800 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-08-14 17:19:19 +0800 |
commit | d5cc590c875ada0c55d975cbe26141a94e306c94 (patch) | |
tree | 11609b42a0f226060aca1143f4304f008610eebd /git/test/lib/helper.py | |
parent | 5fa99bff215249378f90e1ce0254e66af155a301 (diff) | |
download | gitpython-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.py | 3 |
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): """ |