]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 16 Aug 2023 09:59:44 +0000 (02:59 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 09:59:44 +0000 (09:59 +0000)
commit6b825c1b8a14460641ca6f1647d83005c68199aa
treeb02c81cdb547fba925aeb86af6531e6fff4777b9
parentc1c3f0bfec9de0fab35027cdec627f18e6c05c86
[3.11] gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737) (GH-108007)

Use a custom exception to prevent unintentional silence of actual errors.
(cherry picked from commit fd9d70a94de5b0756b52b9ae21e236e25545db4f)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/unittest/test/test_runner.py