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.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):
"""