diff tests/test_svnwrap.py @ 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 c2d606a1dc6f
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))