mirror of
https://github.com/python/cpython.git
synced 2024-11-25 19:03:49 +08:00
Get test working when there are multiple dbs supported.
This commit is contained in:
parent
fe61bb9a59
commit
0337ef62fa
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user