summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-08-25 03:15:03 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-08-25 03:15:03 (GMT)
commite427a1ca3abab7193abcef22788a390b557197f4 (patch)
tree794625310b1a07d24361ee3efd2457da658f5022
parent7ed3fcf26f91c260e75bbd449054097a32096c18 (diff)
downloadcpython-e427a1ca3abab7193abcef22788a390b557197f4.zip
cpython-e427a1ca3abab7193abcef22788a390b557197f4.tar.gz
cpython-e427a1ca3abab7193abcef22788a390b557197f4.tar.bz2
Don't test AST for backticks.
-rw-r--r--Lib/test/test_ast.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_ast.py b/Lib/test/test_ast.py
index 14fc010..80e8d78 100644
--- a/Lib/test/test_ast.py
+++ b/Lib/test/test_ast.py
@@ -94,8 +94,6 @@ eval_tests = [
"1 < 2 < 3",
# Call
"f(1,2,c=3,*d,**e)",
- # Repr
- "`v`",
# Num
"10L",
# Str
@@ -191,7 +189,6 @@ eval_results = [
('Expression', ('GeneratorExp', (1, 1), ('Name', (1, 1), 'a', ('Load',)), [('comprehension', ('Name', (1, 7), 'b', ('Store',)), ('Name', (1, 12), 'c', ('Load',)), [('Name', (1, 17), 'd', ('Load',))])])),
('Expression', ('Compare', (1, 0), ('Num', (1, 0), 1), [('Lt',), ('Lt',)], [('Num', (1, 4), 2), ('Num', (1, 8), 3)])),
('Expression', ('Call', (1, 0), ('Name', (1, 0), 'f', ('Load',)), [('Num', (1, 2), 1), ('Num', (1, 4), 2)], [('keyword', 'c', ('Num', (1, 8), 3))], ('Name', (1, 11), 'd', ('Load',)), ('Name', (1, 15), 'e', ('Load',)))),
-('Expression', ('Repr', (1, 0), ('Name', (1, 1), 'v', ('Load',)))),
('Expression', ('Num', (1, 0), 10L)),
('Expression', ('Str', (1, 0), 'string')),
('Expression', ('Attribute', (1, 0), ('Name', (1, 0), 'a', ('Load',)), 'b', ('Load',))),