]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] 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:47:15 +0000 (17:47 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2026 15:47:15 +0000 (11:47 -0400)
commit720231390422c92610f663c8a35d239cd8b3d8cd
tree98562540e635b81a21173140d6f3d0ebd19ae0cd
parenta565b8670c96d730559cea0d2a64e3893fe92ecd
[3.14] gh-120665: make unittest loaders avoid loading test cases that are abstract base classes (GH-120666) (#151600)

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]