commit | 49dc35ba730a2676a5a373fc50c05f3fb4feaf3d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Mar 08 01:17:51 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Mar 08 01:17:51 2007 +0000 |
tree | 11280c37cccabb1e71697cdc2c9bd31e62b70cd6 | |
parent | de3bc7c5659e689f1cb45dba9aba48fd6c96ce1f [diff] |
Fix another unittest that broke due to dict views (more precisely, due to the cowboy way they are currently hacked in).
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 @@ 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)