From: Neal Norwitz Date: Sat, 25 Aug 2007 18:00:36 +0000 (+0000) Subject: Get test working when there are multiple dbs supported. X-Git-Tag: v3.0a1~255 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0337ef62faec55c3b19b24725940e4eba2b8ab68;p=python Get test working when there are multiple dbs supported. --- diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py index d1cac1dfc1..7746329899 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))