Repository navigation
Commit 9940678
committed
fix(tests): Update Stubtest unit tests to expect pretty output
This commit adapts several unit tests in the `StubtestMiscUnit` suite to handle the new pretty-by-default behavior.
Because the `stubtest` runner is a distinct command-line tool, injecting the `--no-pretty` flag was not feasible as it's an unrecognized argument.
Instead, the `assert` statements in the failing tests have been updated to match the new, pretty-printed error output from mypy.
Part of python#19108.1 parent 6a0a7c2 commit 9940678
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2581 | 2581 | | |
2582 | 2582 | | |
2583 | 2583 | | |
2584 | | - | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
2585 | 2587 | | |
2586 | 2588 | | |
2587 | 2589 | | |
2588 | 2590 | | |
2589 | 2591 | | |
2590 | | - | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
2591 | 2595 | | |
2592 | 2596 | | |
2593 | 2597 | | |
| |||
2665 | 2669 | | |
2666 | 2670 | | |
2667 | 2671 | | |
| 2672 | + | |
| 2673 | + | |
2668 | 2674 | | |
2669 | 2675 | | |
2670 | 2676 | | |
| |||
0 commit comments