Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75d818f

Browse files
committed
Fix Issue10228 - Refleak run of test_dbm fails when several dbm modules are available (Patch by Ray.Allen)
1 parent 94ca211 commit 75d818f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_dbm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def test_whichdb(self):
123123
name = module.__name__
124124
if name == 'dbm.dumb':
125125
continue # whichdb can't support dbm.dumb
126-
test.support.unlink(_fname)
126+
delete_files()
127127
f = module.open(_fname, 'c')
128128
f.close()
129129
self.assertEqual(name, dbm.whichdb(_fname))

0 commit comments

Comments
 (0)