[Python-3000-checkins] r53844 - in python/branches/p3yk: BROKEN Lib/test/test_mutants.py

brett.cannon python-3000-checkins at python.org
Wed Feb 21 23:00:00 CET 2007


Author: brett.cannon
Date: Wed Feb 21 22:59:58 2007
New Revision: 53844

Modified:
   python/branches/p3yk/BROKEN
   python/branches/p3yk/Lib/test/test_mutants.py
Log:
Fix test_mutants for dict views.


Modified: python/branches/p3yk/BROKEN
==============================================================================
--- python/branches/p3yk/BROKEN	(original)
+++ python/branches/p3yk/BROKEN	Wed Feb 21 22:59:58 2007
@@ -1,2 +1,2 @@
     test_bsddb test_bsddb3 test_compile test_dumbdbm
-    test_importhooks test_iter test_iterlen test_minidom test_mutants
+    test_importhooks test_iter test_iterlen test_minidom

Modified: python/branches/p3yk/Lib/test/test_mutants.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_mutants.py	(original)
+++ python/branches/p3yk/Lib/test/test_mutants.py	Wed Feb 21 22:59:58 2007
@@ -116,7 +116,7 @@
     for i in xrange(numentries):
         d[Horrid(random.choice(candidates))] = \
             Horrid(random.choice(candidates))
-    return d.keys()
+    return list(d.keys())
 
 # Test one pair of randomly generated dicts, each with n entries.
 # Note that dict comparison is trivial if they don't have the same number


More information about the Python-3000-checkins mailing list