]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-145754: Update signature retrieval in unittest.mock to use forwardref annot...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 20 Mar 2026 03:06:03 +0000 (04:06 +0100)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2026 03:06:03 +0000 (03:06 +0000)
commit7ba9580f00d3ae2c79cb43f5663725e6d786ef7c
treefa6a1e5d8f28278a62f347baf4222b7813fef865
parentbc6edf835008ed967f9af450d14fe1452514de7c
[3.14] gh-145754: Update signature retrieval in unittest.mock to use forwardref annotation format (GH-145756) (#146191)

gh-145754: Update signature retrieval in unittest.mock to use forwardref annotation format (GH-145756)
(cherry picked from commit d357a7dbf38868844415ec1d5df80379ea5a2326)

Co-authored-by: Matthias Schoettle <git@mattsch.com>
Lib/test/test_unittest/testmock/testmock.py
Lib/unittest/mock.py
Misc/NEWS.d/next/Library/2026-03-10-14-57-15.gh-issue-145754.YBL5Ko.rst [new file with mode: 0644]