---
dulwich/tests/test_object_store.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dulwich/tests/test_object_store.py
b/dulwich/tests/test_object_store.py
index fa4da65..c172c57 100644
--- a/dulwich/tests/test_object_store.py
+++ b/dulwich/tests/test_object_store.py
@@ -181,6 +181,10 @@ class MemoryObjectStoreTests(ObjectStoreTests, TestCase):
class PackBasedObjectStoreTests(ObjectStoreTests):
+ def tearDown(self):
+ for pack in self.store.packs:
+ pack.close()
+
def test_empty_packs(self):
self.assertEquals([], self.store.packs)
@@ -204,6 +208,7 @@ class DiskObjectStoreTests(PackBasedObjectStoreTests,
TestCase):
def tearDown(self):
TestCase.tearDown(self)
+ PackBasedObjectStoreTests.tearDown(self)
shutil.rmtree(self.store_dir)
def test_pack_dir(self):
--
1.7.3.2.msysgit.0
_______________________________________________
Mailing list: https://launchpad.net/~dulwich-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dulwich-users
More help : https://help.launchpad.net/ListHelp