Conditions | 2 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | from py14.tracer import value_type, value_expr, decltype, is_list, is_recursive |
||
102 | def test_catch_expression_chain_with_functions(self): |
||
103 | source = parse( |
||
104 | "x = 3 * 1", |
||
105 | "y = foo(x)", |
||
106 | "z = y + 2", |
||
107 | ) |
||
108 | z = source.body[2] |
||
109 | t = value_expr(z) |
||
110 | assert t == "foo(3 * 1) + 2" |
||
111 | |||
152 |