From d279e286f2e7035836d779bfad5e93d22eb42cf0 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 12 Mar 2012 09:27:36 -0700 Subject: [PATCH] every other ast object has a dict, so I think AST should, too --- Lib/test/test_ast.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index be9f05eb466..10be487bf7d 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)