Another fix for the bsddb3 tests
This commit is contained in:
parent
087f8ae4cf
commit
1fd77708e3
|
@ -24,7 +24,7 @@ class DBSequenceTest(unittest.TestCase):
|
||||||
pass
|
pass
|
||||||
tempfile.tempdir = self.homeDir
|
tempfile.tempdir = self.homeDir
|
||||||
self.filename = os.path.split(tempfile.mktemp())[1]
|
self.filename = os.path.split(tempfile.mktemp())[1]
|
||||||
tempfile.tempdir = old_tempfile_tempdir
|
tempfile.tempdir = None
|
||||||
|
|
||||||
self.dbenv = db.DBEnv()
|
self.dbenv = db.DBEnv()
|
||||||
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0o666)
|
self.dbenv.open(self.homeDir, db.DB_CREATE | db.DB_INIT_MPOOL, 0o666)
|
||||||
|
|
Loading…
Reference in New Issue