]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120732: Fix `name` passing to `Mock`, when using kwargs to `create_autospec` ...
authorNikita Sobolev <mail@sobolevn.me>
Wed, 19 Jun 2024 20:35:11 +0000 (23:35 +0300)
committerGitHub <noreply@github.com>
Wed, 19 Jun 2024 20:35:11 +0000 (21:35 +0100)
commit1e4815692f6c8a37a3974d0d7d2025494d026d76
tree4d539071e6d30dbf6e60ad286b8cc9b57fc6134d
parented5ae6c4d76feaff06c2104c8ff864553b000253
gh-120732: Fix `name` passing to `Mock`, when using kwargs to `create_autospec` (#120737)
Lib/test/test_unittest/testmock/testmock.py
Lib/unittest/mock.py
Misc/NEWS.d/next/Library/2024-06-19-15-06-58.gh-issue-120732.OvYV9b.rst [new file with mode: 0644]