summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ast.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2012-03-13 07:14:59 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2012-03-13 07:14:59 (GMT)
commit784ddb08a692a531d35e48c44bd7d84592ffb32a (patch)
tree6162ff8bdf913cf64adc06094f1c8bee8b1d6606 /Lib/test/test_ast.py
parent6080db76066a83fc7c2e50975b616f649fbfb2d6 (diff)
parentdf723e1e5e4e0022a28618f953219aaf52852643 (diff)
downloadcpython-784ddb08a692a531d35e48c44bd7d84592ffb32a.zip
cpython-784ddb08a692a531d35e48c44bd7d84592ffb32a.tar.gz
cpython-784ddb08a692a531d35e48c44bd7d84592ffb32a.tar.bz2
merge heads
Diffstat (limited to 'Lib/test/test_ast.py')
-rw-r--r--Lib/test/test_ast.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
index be9f05e..f4ce615 100644
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -195,12 +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)
-
with self.assertRaises(TypeError):
# "_ast.AST constructor takes 0 positional arguments"
ast.AST(2)