()
| 182 | check_transform(ipt2.MagicAssign, MULTILINE_MAGIC_ASSIGN) |
| 183 | |
| 184 | def test_find_assign_system(): |
| 185 | check_find(ipt2.SystemAssign, MULTILINE_SYSTEM_ASSIGN) |
| 186 | check_find(ipt2.SystemAssign, MULTILINE_SYSTEM_ASSIGN_AFTER_DEDENT) |
| 187 | check_find(ipt2.SystemAssign, (["a = !ls\n"], (1, 5), None)) |
| 188 | check_find(ipt2.SystemAssign, (["a=!ls\n"], (1, 2), None)) |
| 189 | check_find(ipt2.SystemAssign, MULTILINE_MAGIC_ASSIGN, match=False) |
| 190 | |
| 191 | def test_transform_assign_system(): |
| 192 | check_transform(ipt2.SystemAssign, MULTILINE_SYSTEM_ASSIGN) |
nothing calls this directly
no test coverage detected