()
| 59 | |
| 60 | |
| 61 | def test_as_apply_tuple_of_literals(): |
| 62 | l = (9, 3) |
| 63 | al = as_apply(l) |
| 64 | assert isinstance(al, Apply) |
| 65 | assert al.name == "pos_args" |
| 66 | assert isinstance(al.pos_args[0], Literal) |
| 67 | assert isinstance(al.pos_args[1], Literal) |
| 68 | al.pos_args[0]._obj == 9 |
| 69 | al.pos_args[1]._obj == 3 |
| 70 | assert len(al) == 2 |
| 71 | |
| 72 | |
| 73 | def test_as_apply_list_of_applies(): |
nothing calls this directly
no test coverage detected