Close database files before removing them

svn: r22794
This commit is contained in:
Nick Hall 2013-08-03 16:46:17 +00:00
parent d174f4c44b
commit f33607ac7c

View File

@ -104,6 +104,9 @@ class CursorTest(unittest.TestCase):
return (person_map,surnames)
def tearDown(self):
self.person_map.close()
self.surnames.close()
self.env.close()
shutil.rmtree(self._tmpdir)
def test_simple_insert(self):