[Python-3000-checkins] r54009 - python/branches/p3yk/Lib/test/test_pep352.py

brett.cannon python-3000-checkins at python.org
Wed Feb 28 01:32:10 CET 2007


Author: brett.cannon
Date: Wed Feb 28 01:32:07 2007
New Revision: 54009

Modified:
   python/branches/p3yk/Lib/test/test_pep352.py
Log:
Use __builtin__, not __builtins__.


Modified: python/branches/p3yk/Lib/test/test_pep352.py
==============================================================================
--- python/branches/p3yk/Lib/test/test_pep352.py	(original)
+++ python/branches/p3yk/Lib/test/test_pep352.py	Wed Feb 28 01:32:07 2007
@@ -21,7 +21,7 @@
     def test_inheritance(self):
         # Make sure the inheritance hierarchy matches the documentation
         exc_set = set()
-        for object_ in __builtins__.__dict__.values():
+        for object_ in __builtin__.__dict__.values():
             try:
                 if issubclass(object_, BaseException):
                     exc_set.add(object_.__name__)


More information about the Python-3000-checkins mailing list