]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add tests for syntax error messages that had no test coverage (GH-153192)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 6 Jul 2026 13:49:17 +0000 (16:49 +0300)
committerGitHub <noreply@github.com>
Mon, 6 Jul 2026 13:49:17 +0000 (16:49 +0300)
commit836b2069c86e25cf9456e9210bb612e5166d0779
tree12c99322d9499f719cd3f563b28641483b98f28b
parent1034e73f699e858b2b7700d9e9b9ef692ccbad66
Add tests for syntax error messages that had no test coverage (GH-153192)

"illegal target for annotation" and "cannot use dict unpacking here"
were not tested at all, and "f-string: expecting '!', or ':', or '}'"
was only tested for its t-string variant.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Lib/test/test_fstring.py
Lib/test/test_syntax.py
Lib/test/test_unpack_ex.py