summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-03-08 01:17:51 (GMT)
committerGuido van Rossum <guido@python.org>2007-03-08 01:17:51 (GMT)
commit49dc35ba730a2676a5a373fc50c05f3fb4feaf3d (patch)
tree11280c37cccabb1e71697cdc2c9bd31e62b70cd6 /Lib
parentde3bc7c5659e689f1cb45dba9aba48fd6c96ce1f (diff)
downloadcpython-49dc35ba730a2676a5a373fc50c05f3fb4feaf3d.zip
cpython-49dc35ba730a2676a5a373fc50c05f3fb4feaf3d.tar.gz
cpython-49dc35ba730a2676a5a373fc50c05f3fb4feaf3d.tar.bz2
Fix another unittest that broke due to dict views (more precisely, due
to the cowboy way they are currently hacked in).
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)