Author: guido.van.rossum
Date: Thu Mar  8 02:17:51 2007
New Revision: 54216

Modified:
   python/branches/p3yk/Lib/test/test_anydbm.py
Log:
Fix another unittest that broke due to dict views (more precisely, due
to the cowboy way they are currently hacked in).


Modified: python/branches/p3yk/Lib/test/test_anydbm.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_anydbm.py        (original)
+++ python/branches/p3yk/Lib/test/test_anydbm.py        Thu Mar  8 02:17:51 2007
@@ -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)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to