mirror of https://github.com/python/cpython
Don't test AST for backticks.
This commit is contained in:
parent
7ed3fcf26f
commit
e427a1ca3a
|
@ -94,8 +94,6 @@ eval_tests = [
|
||||||
"1 < 2 < 3",
|
"1 < 2 < 3",
|
||||||
# Call
|
# Call
|
||||||
"f(1,2,c=3,*d,**e)",
|
"f(1,2,c=3,*d,**e)",
|
||||||
# Repr
|
|
||||||
"`v`",
|
|
||||||
# Num
|
# Num
|
||||||
"10L",
|
"10L",
|
||||||
# Str
|
# 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', ('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', ('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', ('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', ('Num', (1, 0), 10L)),
|
||||||
('Expression', ('Str', (1, 0), 'string')),
|
('Expression', ('Str', (1, 0), 'string')),
|
||||||
('Expression', ('Attribute', (1, 0), ('Name', (1, 0), 'a', ('Load',)), 'b', ('Load',))),
|
('Expression', ('Attribute', (1, 0), ('Name', (1, 0), 'a', ('Load',)), 'b', ('Load',))),
|
||||||
|
|
Loading…
Reference in New Issue