summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_whichdb.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-25 18:00:36 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-25 18:00:36 (GMT)
commit0337ef62faec55c3b19b24725940e4eba2b8ab68 (patch)
tree1cdfa762605939cf14e80fb4e4a114c502015257 /Lib/test/test_whichdb.py
parentfe61bb9a59e17905bda2d1dbba08b331240abd08 (diff)
downloadcpython-0337ef62faec55c3b19b24725940e4eba2b8ab68.zip
cpython-0337ef62faec55c3b19b24725940e4eba2b8ab68.tar.gz
cpython-0337ef62faec55c3b19b24725940e4eba2b8ab68.tar.bz2
Get test working when there are multiple dbs supported.
Diffstat (limited to 'Lib/test/test_whichdb.py')
-rw-r--r--Lib/test/test_whichdb.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py
index d1cac1d..7746329 100644
--- a/Lib/test/test_whichdb.py
+++ b/Lib/test/test_whichdb.py
@@ -28,6 +28,7 @@ class WhichDBTestCase(unittest.TestCase):
name = module.__name__
if name == 'dumbdbm':
continue # whichdb can't support dumbdbm
+ test.test_support.unlink(_fname)
f = module.open(_fname, 'c')
f.close()
self.assertEqual(name, whichdb.whichdb(_fname))