Repository navigation
Commit 6a0a7c2
committed
fix(tests): Adapt PEP561Suite to default to non-pretty output
This commit adapts the `PEP561Suite` test runner to handle the new pretty-by-default behavior.
The `parse_mypy_args` helper in `mypy/test/testpep561.py` is modified to inject the `--no-pretty` flag into the arguments parsed from '# flags:' lines in test cases.
Part of python#19108.1 parent 0845787 commit 6a0a7c2
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
0 commit comments