From: Senthil Kumaran Date: Sat, 26 Feb 2011 07:11:27 +0000 (+0000) Subject: Merged revisions 88631 via svnmerge from X-Git-Tag: v3.2.1b1~369 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=725c2b987322eca2d779ba0d8a67adc101566d60;p=thirdparty%2FPython%2Fcpython.git Merged revisions 88631 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88631 | senthil.kumaran | 2011-02-26 11:44:03 +0800 (Sat, 26 Feb 2011) | 2 lines Fix Issue10228 - Refleak run of test_dbm fails when several dbm modules are available (Patch by Ray.Allen) ........ --- diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py index c1be7d95fae4..74c9c44b2304 100644 --- a/Lib/test/test_dbm.py +++ b/Lib/test/test_dbm.py @@ -123,7 +123,7 @@ class WhichDBTestCase(unittest.TestCase): name = module.__name__ if name == 'dbm.dumb': continue # whichdb can't support dbm.dumb - test.support.unlink(_fname) + delete_files() f = module.open(_fname, 'c') f.close() self.assertEqual(name, dbm.whichdb(_fname))