Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions test/test_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# This module is part of GitPython and is released under the
# 3-Clause BSD License: https://opensource.org/license/bsd-3-clause/

import gc
import os
import os.path as osp
import shutil
Expand All @@ -27,8 +28,6 @@ def setUp(self):
self.submodule_dir = tempfile.mkdtemp()

def tearDown(self):
import gc

gc.collect()
shutil.rmtree(self.repo_dir)
shutil.rmtree(self.submodule_dir)
Expand Down