Commit b86e47d
committed
Prove ignores without error codes also disappear
This test fails with the error:
AssertionError: Command 3 (dmypy check -- bar.py) did not give expected output
--- Captured stderr call ---
Expected:
bar.py:2: error: "type: ignore" comment without error code [ignore-without-code] (diff)
== Return code: 1 (diff)
Actual:
(empty)
This test illustrates that '"type: ignore" comment without error code'
errors currently disappear in the same way that 'Unused "type: ignore"'
errors do as described in #9655.
Ref: #96551 parent 5d0b42f commit b86e47d
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
0 commit comments