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