]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:22 +0000 (13:54 +0200)
committerGitHub <noreply@github.com>
Sat, 15 Jun 2024 11:54:22 +0000 (12:54 +0100)
commit454f7e8035522fc87f28276c0a6f2166d7c93346
tree25ba215f263cef584a9b72c02caecd0f43a77d66
parent1242c2739a0b8161d2a4ded1e0e595b2db962ccb
[3.12] gh-120544: Add `else: fail()` to tests where exception is expected (GH-120545) (#120547)

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