]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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 10:13:35 +0000 (03:13 -0700)
committerGitHub <noreply@github.com>
Wed, 16 Aug 2023 10:13:35 +0000 (12:13 +0200)
commit4421c65f08228b203a1bed3b30ab3f5189b62427
treeba1e63a057a15fb458c744dff090bf27b18dd810
parentb5176a86bd2587856f88aec3958ad8caef7b11fc
[3.12] gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737) (#108006)

gh-106300: Improve errors testing in test_unittest.test_runner (GH-106737)

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/test/test_unittest/test_runner.py