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 @@ def test_AST_objects(self): with self.assertRaises(AttributeError): x.vararg - with self.assertRaises(AttributeError): - x.foobar = 21 - with self.assertRaises(AttributeError): ast.AST(lineno=2)