Close database files before removing them
svn: r22793
This commit is contained in:
parent
b4c1863683
commit
c075bea146
@ -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…
x
Reference in New Issue
Block a user