some test suite cleanup, use tempfile.mkdtemp() in setUp and

shutil.rmtree() in tearDown().  add missing tests to the list
in the test_bsddb3 suite.
This commit is contained in:
Gregory P. Smith 2007-08-28 08:05:56 +00:00
parent a280ca7594
commit 3fd22da612
22 changed files with 180 additions and 229 deletions

View file

@ -11,13 +11,13 @@ except ImportError:
# For Python 2.3
from bsddb import db
verbose = 0
verbose = False
if 'verbose' in sys.argv:
verbose = 1
verbose = True
sys.argv.remove('verbose')
if 'silent' in sys.argv: # take care of old flag, just in case
verbose = 0
verbose = False
sys.argv.remove('silent')