()
| 360 | ], ipt.ipy_prompt) |
| 361 | |
| 362 | def test_assemble_logical_lines(): |
| 363 | tests = \ |
| 364 | [ [(u"a = \\", None), |
| 365 | (u"123", u"a = 123"), |
| 366 | ], |
| 367 | [(u"a = \\", None), # Test resetting when within a multi-line string |
| 368 | (u"12 *\\", None), |
| 369 | (None, u"a = 12 *"), |
| 370 | ], |
| 371 | [(u"# foo\\", u"# foo\\"), # Comments can't be continued like this |
| 372 | ], |
| 373 | ] |
| 374 | for example in tests: |
| 375 | transform_checker(example, ipt.assemble_logical_lines) |
| 376 | |
| 377 | def test_assemble_python_lines(): |
| 378 | tests = \ |
nothing calls this directly
no test coverage detected