()
| 334 | tt.check_pairs(transform_and_reset(ipt.assign_from_magic), syntax['assign_magic']) |
| 335 | |
| 336 | def test_classic_prompt(): |
| 337 | tt.check_pairs(transform_and_reset(ipt.classic_prompt), syntax['classic_prompt']) |
| 338 | for example in syntax_ml['classic_prompt']: |
| 339 | transform_checker(example, ipt.classic_prompt) |
| 340 | for example in syntax_ml['multiline_datastructure_prompt']: |
| 341 | transform_checker(example, ipt.classic_prompt) |
| 342 | |
| 343 | # Check that we don't transform the second line if the first is obviously |
| 344 | # IPython syntax |
| 345 | transform_checker([ |
| 346 | (u'%foo', '%foo'), |
| 347 | (u'>>> bar', '>>> bar'), |
| 348 | ], ipt.classic_prompt) |
| 349 | |
| 350 | |
| 351 | def test_ipy_prompt(): |
nothing calls this directly
no test coverage detected