mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fix another unittest that broke due to dict views (more precisely, due
to the cowboy way they are currently hacked in).
This commit is contained in:
parent
de3bc7c565
commit
49dc35ba73
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class AnyDBMTestCase(unittest.TestCase):
|
|||
|
||||
def test_anydbm_creation(self):
|
||||
f = anydbm.open(_fname, 'c')
|
||||
self.assertEqual(f.keys(), [])
|
||||
self.assertEqual(list(f.keys()), [])
|
||||
for key in self._dict:
|
||||
f[key] = self._dict[key]
|
||||
self.read_helper(f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue