From 3695bf316f6dc32d9e730694e32f3cf029251dcb Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 28 Feb 2007 00:32:07 +0000 Subject: [PATCH] Use __builtin__, not __builtins__. --- Lib/test/test_pep352.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pep352.py b/Lib/test/test_pep352.py index 5cfefd063d..cd91ca72c3 100644 --- a/Lib/test/test_pep352.py +++ b/Lib/test/test_pep352.py @@ -21,7 +21,7 @@ class ExceptionClassTests(unittest.TestCase): 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__) -- 2.40.0