]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-120544: Add `else: fail()` to tests where exception is expected (GH-120545...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 15 Jun 2024 11:54:07 +0000 (13:54 +0200)
committerGitHub <noreply@github.com>
Sat, 15 Jun 2024 11:54:07 +0000 (12:54 +0100)
commit767c955544fa79486e3e874ed9d74e8991b1060b
tree71f3dd32c357aea2af70db0465331a320277e4d3
parente54a28bcc9114f296bd1d63010eedbd0c2140d71
[3.13] gh-120544: Add `else: fail()` to tests where exception is expected (GH-120545) (#120546)

gh-120544: Add `else: fail()` to tests where exception is expected (GH-120545)
(cherry picked from commit 42ebdd83bb194f054fe5a10b3caa0c3a95be3679)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/test/test_exceptions.py
Lib/test/test_unittest/test_case.py