Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[red-knot] Use unambiguous invalid-syntax-construct for suppression c…
…omment test (#15933) ## Summary I experimented with [not trimming trailing newlines in code snippets](#15926 (comment)), but since came to the conclusion that the current behavior is better because otherwise, there is no way to write snippets without a trailing newline at all. And when you copy the code from a Markdown snippet in GitHub, you also don't get a trailing newline. I was surprised to see some test failures when I played with this though, and decided to make this test independent from this implementation detail.
- Loading branch information