changeset 482:a42fb4f1716a

Reclaim repository object to avoid tearDown() failing to remove the open file 'testrepo/db/rep-cache.db'
author Risto Kankkunen <risto.kankkunen@iki.fi>
date Wed, 29 Jul 2009 18:38:28 +0300
parents e5a9c824ffbf
children 37718f514acb
files tests/test_svnwrap.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_svnwrap.py
+++ b/tests/test_svnwrap.py
@@ -34,6 +34,7 @@ class TestBasicRepoLayout(unittest.TestC
         self.repo = svnwrap.SubversionRepo(test_util.fileurl(self.repo_path))
 
     def tearDown(self):
+        del self.repo
         shutil.rmtree(self.tmpdir, onerror=lambda func, path, e: force_rm(path))