()
| 133 | |
| 134 | |
| 135 | def test_subscript_propagation(): |
| 136 | src = """ |
| 137 | x = c() |
| 138 | x[:3] |
| 139 | """ |
| 140 | p = "c()" |
| 141 | node = process_taint(src, p) |
| 142 | assert node._taint_class == Taints.TAINTED |
| 143 | |
| 144 | |
| 145 | def test_return_statement_propagation(): |
nothing calls this directly
no test coverage detected