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:
Guido van Rossum 2007-03-08 01:17:51 +00:00
parent de3bc7c565
commit 49dc35ba73
1 changed files with 1 additions and 1 deletions

View File

@ -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)