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

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]