Commit 49dc35ba authored by Guido van Rossum's avatar Guido van Rossum

Fix another unittest that broke due to dict views (more precisely, due

to the cowboy way they are currently hacked in).
parent de3bc7c5
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment