summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_anydbm.py2
1 files changed, 1 insertions, 1 deletions
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)