diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-03-12 16:43:09 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-03-12 16:43:09 (GMT) |
commit | ef87f067982dede91aca3d7954b992b860d8a254 (patch) | |
tree | 3d8ac17e972066da736c98632a903409129f16f7 /Lib | |
parent | 800b3aa57f073403ed2b64c49058e9b88ba582d3 (diff) | |
download | cpython-ef87f067982dede91aca3d7954b992b860d8a254.zip cpython-ef87f067982dede91aca3d7954b992b860d8a254.tar.gz cpython-ef87f067982dede91aca3d7954b992b860d8a254.tar.bz2 |
allow AST objects to be like its subclasses
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_ast.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py index 10be487..f4ce615 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): - ast.AST(lineno=2) - with self.assertRaises(TypeError): # "_ast.AST constructor takes 0 positional arguments" ast.AST(2) |