diff options
author | Guido van Rossum <guido@python.org> | 2007-03-08 01:17:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-03-08 01:17:51 (GMT) |
commit | 49dc35ba730a2676a5a373fc50c05f3fb4feaf3d (patch) | |
tree | 11280c37cccabb1e71697cdc2c9bd31e62b70cd6 /Lib/test | |
parent | de3bc7c5659e689f1cb45dba9aba48fd6c96ce1f (diff) | |
download | cpython-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/test')
-rw-r--r-- | Lib/test/test_anydbm.py | 2 |
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) |