()
| 455 | |
| 456 | |
| 457 | def test_comment_in_statement() -> None: |
| 458 | source = """test(foo=1, |
| 459 | # comment 1 |
| 460 | bar=2) |
| 461 | """ |
| 462 | for line in range(1, 3): |
| 463 | assert ( |
| 464 | str(getstatement(line, source)) |
| 465 | == "test(foo=1,\n # comment 1\n bar=2)" |
| 466 | ) |
| 467 | |
| 468 | |
| 469 | def test_source_with_decorator() -> None: |
nothing calls this directly
no test coverage detected