Author: brett.cannon
Date: Thu Feb 22 05:50:21 2007
New Revision: 53854

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


Modified: python/branches/p3yk/BROKEN
==============================================================================
--- python/branches/p3yk/BROKEN (original)
+++ python/branches/p3yk/BROKEN Thu Feb 22 05:50:21 2007
@@ -1,2 +1 @@
     test_bsddb test_bsddb3 test_compile test_dumbdbm
-    test_importhooks

Modified: python/branches/p3yk/Lib/test/test_importhooks.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_importhooks.py   (original)
+++ python/branches/p3yk/Lib/test/test_importhooks.py   Thu Feb 22 05:50:21 2007
@@ -254,7 +254,7 @@
         mnames = ("colorsys", "urlparse", "distutils.core", "compiler.misc")
         for mname in mnames:
             parent = mname.split(".")[0]
-            for n in sys.modules.keys():
+            for n in list(sys.modules.keys()):
                 if n.startswith(parent):
                     del sys.modules[n]
         for mname in mnames:
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to