Close database files before removing them

svn: r22793
This commit is contained in:
Nick Hall 2013-08-03 16:46:10 +00:00
parent b4c1863683
commit c075bea146

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):