mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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) ........
This commit is contained in:
parent
5d5381ed00
commit
725c2b9873
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue