every other ast object has a dict, so I think AST should, too
This commit is contained in:
parent
1f9a835400
commit
d279e286f2
|
@ -195,9 +195,6 @@ class AST_Tests(unittest.TestCase):
|
||||||
with self.assertRaises(AttributeError):
|
with self.assertRaises(AttributeError):
|
||||||
x.vararg
|
x.vararg
|
||||||
|
|
||||||
with self.assertRaises(AttributeError):
|
|
||||||
x.foobar = 21
|
|
||||||
|
|
||||||
with self.assertRaises(AttributeError):
|
with self.assertRaises(AttributeError):
|
||||||
ast.AST(lineno=2)
|
ast.AST(lineno=2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue