summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dbm.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2011-02-26 07:11:27 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2011-02-26 07:11:27 (GMT)
commit725c2b987322eca2d779ba0d8a67adc101566d60 (patch)
treecd9b1f9ea0f5e1d9216832a921a47f3a9599af6d /Lib/test/test_dbm.py
parent5d5381ed002a03486b7364f9ae8b69fa2d2a1ede (diff)
downloadcpython-725c2b987322eca2d779ba0d8a67adc101566d60.zip
cpython-725c2b987322eca2d779ba0d8a67adc101566d60.tar.gz
cpython-725c2b987322eca2d779ba0d8a67adc101566d60.tar.bz2
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) ........
Diffstat (limited to 'Lib/test/test_dbm.py')
-rw-r--r--Lib/test/test_dbm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py
index c1be7d9..74c9c44 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))