diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2024-06-19 20:35:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-19 20:35:11 (GMT) |
commit | 1e4815692f6c8a37a3974d0d7d2025494d026d76 (patch) | |
tree | 4d539071e6d30dbf6e60ad286b8cc9b57fc6134d /Misc/NEWS.d | |
parent | ed5ae6c4d76feaff06c2104c8ff864553b000253 (diff) | |
download | cpython-1e4815692f6c8a37a3974d0d7d2025494d026d76.zip cpython-1e4815692f6c8a37a3974d0d7d2025494d026d76.tar.gz cpython-1e4815692f6c8a37a3974d0d7d2025494d026d76.tar.bz2 |
gh-120732: Fix `name` passing to `Mock`, when using kwargs to `create_autospec` (#120737)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-06-19-15-06-58.gh-issue-120732.OvYV9b.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-06-19-15-06-58.gh-issue-120732.OvYV9b.rst b/Misc/NEWS.d/next/Library/2024-06-19-15-06-58.gh-issue-120732.OvYV9b.rst new file mode 100644 index 0000000..e31c4dd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-06-19-15-06-58.gh-issue-120732.OvYV9b.rst @@ -0,0 +1,2 @@ +Fix ``name`` passing to :class:`unittest.mock.Mock` object when using +:func:`unittest.mock.create_autospec`. |