]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#7269: fix failures in test_bsddb3. Patch by Florent Xicluna.
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 24 Jan 2010 21:47:59 +0000 (21:47 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 24 Jan 2010 21:47:59 +0000 (21:47 +0000)
Lib/bsddb/test/test_misc.py

index 47f14d9da06c21cc8a534bfa2a096f3db4dbb486..0cf75e975f824071af9e779cbb6a4771c7905184 100644 (file)
@@ -10,7 +10,7 @@ from test_all import db, dbshelve, hashopen, test_support, get_new_environment_p
 
 class MiscTestCase(unittest.TestCase):
     def setUp(self):
-        self.filename = self.__class__.__name__ + '.db'
+        self.filename = get_new_database_path()
         self.homeDir = get_new_environment_path()
 
     def tearDown(self):