Make it so that error comments in tests are not ignored if they occur at the beginning of a line by wyattscarpenter · Pull Request #21172 · python/mypy
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 3.2k
Open
wyattscarpenter wants to merge 3 commits intopython:masterfrom
Open
Conversation
Copy link Copy Markdown
Contributor
Fixes #19547. Previously, error comments in a test were silently ignored if occurring on an empty line, but it is better that they should be honored, due to the principle of least surprise.
wyattscarpenter and others added 2 commits
April 5, 2026 08:00
wyattscarpenter
mentioned this pull request
wyattscarpenter
marked this pull request as ready for review
wyattscarpenter
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment