Close database files before removing them
svn: r22794
This commit is contained in:
parent
d174f4c44b
commit
f33607ac7c
@ -104,6 +104,9 @@ class CursorTest(unittest.TestCase):
|
|||||||
return (person_map,surnames)
|
return (person_map,surnames)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
self.person_map.close()
|
||||||
|
self.surnames.close()
|
||||||
|
self.env.close()
|
||||||
shutil.rmtree(self._tmpdir)
|
shutil.rmtree(self._tmpdir)
|
||||||
|
|
||||||
def test_simple_insert(self):
|
def test_simple_insert(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user