]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
every other ast object has a dict, so I think AST should, too
authorBenjamin Peterson <benjamin@python.org>
Mon, 12 Mar 2012 16:27:36 +0000 (09:27 -0700)
committerBenjamin Peterson <benjamin@python.org>
Mon, 12 Mar 2012 16:27:36 +0000 (09:27 -0700)
Lib/test/test_ast.py

index be9f05eb46601cca38b33233f6620761d9c7c3a5..10be487bf7dfef857b5cd44c133a0705c8ab94be 100644 (file)
@@ -195,9 +195,6 @@ class AST_Tests(unittest.TestCase):
         with self.assertRaises(AttributeError):
             x.vararg
 
-        with self.assertRaises(AttributeError):
-            x.foobar = 21
-
         with self.assertRaises(AttributeError):
             ast.AST(lineno=2)