]> granicus.if.org Git - python/commitdiff
Merged revisions 77733 via svnmerge from
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 24 Jan 2010 21:50:01 +0000 (21:50 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 24 Jan 2010 21:50:01 +0000 (21:50 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77733 | ezio.melotti | 2010-01-24 23:47:59 +0200 (Sun, 24 Jan 2010) | 1 line

  #7269: fix failures in test_bsddb3. Patch by Florent Xicluna.
........

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):