allow AST objects to be like its subclasses

This commit is contained in:
Benjamin Peterson 2012-03-12 09:43:09 -07:00
parent 800b3aa57f
commit ef87f06798
1 changed files with 0 additions and 3 deletions

View File

@ -195,9 +195,6 @@ class AST_Tests(unittest.TestCase):
with self.assertRaises(AttributeError):
x.vararg
with self.assertRaises(AttributeError):
ast.AST(lineno=2)
with self.assertRaises(TypeError):
# "_ast.AST constructor takes 0 positional arguments"
ast.AST(2)