Commit 5d0b42f
committed
Add test to demonstrate issue #9655
This test currently fails with this error:
AssertionError: Command 3 (dmypy check -- bar.py) did not give expected output
--- Captured stderr call ---
Expected:
bar.py:2: error: Unused "type: ignore" comment (diff)
== Return code: 1 (diff)
Actual:
(empty)
It demonstrates a bug that when an module is removed using
`FineGrainedBuildManager.update` because it is not "seen" by
`fine_grained_increment_follow_imports`, then "unused type: ignore"
warnings disappear from subsequent checks.
Ref: #96551 parent 905c2cb commit 5d0b42f
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
0 commit comments