summaryrefslogtreecommitdiff
path: root/git/test/lib/helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r--git/test/lib/helper.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py
index bd679512..6c9f33c6 100644
--- a/git/test/lib/helper.py
+++ b/git/test/lib/helper.py
@@ -279,6 +279,11 @@ class TestBase(TestCase):
"""
cls.rorepo = Repo(GIT_REPO)
+ @classmethod
+ def tearDownClass(cls):
+ cls.rorepo.git.clear_cache()
+ cls.rorepo.git = None
+
def _make_file(self, rela_path, data, repo=None):
"""
Create a file at the given path relative to our repository, filled