From 49dc35ba730a2676a5a373fc50c05f3fb4feaf3d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 8 Mar 2007 01:17:51 +0000 Subject: Fix another unittest that broke due to dict views (more precisely, due to the cowboy way they are currently hacked in). --- Lib/test/test_anydbm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_anydbm.py b/Lib/test/test_anydbm.py index 46d46d9..f980354 100644 --- a/Lib/test/test_anydbm.py +++ b/Lib/test/test_anydbm.py @@ -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) -- cgit v0.12