(
tmpdir: pytest.TempPathFactory,
capsys: pytest.CaptureFixture[str],
content: str,
expected_error_count: int,
)
| 482 | ], |
| 483 | ) |
| 484 | def test_inline_ignores( |
| 485 | tmpdir: pytest.TempPathFactory, |
| 486 | capsys: pytest.CaptureFixture[str], |
| 487 | content: str, |
| 488 | expected_error_count: int, |
| 489 | ) -> None: |
| 490 | d = str(tmpdir) |
| 491 | with open(op.join(d, "bad.txt"), "w", encoding="utf-8") as f: |
| 492 | f.write(content) |
| 493 | assert cs.main(d) == expected_error_count |
| 494 | |
| 495 | |
| 496 | def test_custom_regex( |
nothing calls this directly
no test coverage detected
searching dependent graphs…