]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-120665: make unittest loaders avoid loading test cases that are abstract...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Jun 2026 15:49:23 +0000 (17:49 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2026 15:49:23 +0000 (11:49 -0400)
commit2ca9dae1480d17b3c40630eb996d23b4d85fac41
treedd88c2f1e091ef656b0520028dce1374f1497684
parent733411a2199a25635c268099ee8584c128396766
[3.13] gh-120665: make unittest loaders avoid loading test cases that are abstract base classes (GH-120666) (#151599)

gh-120665: make unittest loaders avoid loading test cases that are abstract base classes (GH-120666)
(cherry picked from commit 5ad3c6dfbfe60a7f232e9604866c77ced24c4bfe)

Co-authored-by: blhsing <blhsing@gmail.com>
Lib/test/test_unittest/test_loader.py
Lib/unittest/loader.py
Misc/NEWS.d/next/Library/2024-06-18-04-08-37.gh-issue-120665.x7T1hV.rst [new file with mode: 0644]