Author: brett.cannon
Date: Wed Feb 21 22:57:55 2007
New Revision: 53843

Modified:
   python/branches/p3yk/BROKEN
   python/branches/p3yk/Lib/test/mapping_tests.py
Log:
Fix test_os from breakage due to dict views.


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

Modified: python/branches/p3yk/Lib/test/mapping_tests.py
==============================================================================
--- python/branches/p3yk/Lib/test/mapping_tests.py      (original)
+++ python/branches/p3yk/Lib/test/mapping_tests.py      Wed Feb 21 22:57:55 2007
@@ -101,7 +101,7 @@
         #update
         p.update(self.reference)
         self.assertEqual(dict(p), self.reference)
-        items = p.items()
+        items = list(p.items())
         p = self._empty_mapping()
         p.update(items)
         self.assertEqual(dict(p), self.reference)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to