From: Ezio Melotti Date: Sun, 24 Jan 2010 21:47:59 +0000 (+0000) Subject: #7269: fix failures in test_bsddb3. Patch by Florent Xicluna. X-Git-Tag: v2.7a3~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aab24019777c5aee222b67e785a88c3e2909c5de;p=thirdparty%2FPython%2Fcpython.git #7269: fix failures in test_bsddb3. Patch by Florent Xicluna. --- diff --git a/Lib/bsddb/test/test_misc.py b/Lib/bsddb/test/test_misc.py index 47f14d9da06c..0cf75e975f82 100644 --- a/Lib/bsddb/test/test_misc.py +++ b/Lib/bsddb/test/test_misc.py @@ -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):