summaryrefslogtreecommitdiff
path: root/Lib/test/test_dbm.py
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2011-02-26 03:44:03 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2011-02-26 03:44:03 +0000
commit75d818fa91c1794fc57ba7109cd9ff9cd150cd3c (patch)
tree123065fc62d8d6d36a808005dabde5cd2e61fe99 /Lib/test/test_dbm.py
parent94ca211372ae2f8f5f7e329c443657f73931336e (diff)
downloadcpython-git-75d818fa91c1794fc57ba7109cd9ff9cd150cd3c.tar.gz
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 c1be7d95fa..74c9c44b23 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))