From: Benjamin Peterson Date: Mon, 12 Mar 2012 16:27:36 +0000 (-0700) Subject: every other ast object has a dict, so I think AST should, too X-Git-Tag: v3.3.0a2~234^2~17^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d279e286f2e7035836d779bfad5e93d22eb42cf0;p=thirdparty%2FPython%2Fcpython.git every other ast object has a dict, so I think AST should, too --- diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index be9f05eb4660..10be487bf7df 100644 --- a/Lib/test/test_ast.py +++ b/Lib/test/test_ast.py @@ -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)