]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100739: Respect mock spec when checking for unsafe prefixes (GH-100740)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Jan 2023 23:08:37 +0000 (15:08 -0800)
committerGitHub <noreply@github.com>
Wed, 4 Jan 2023 23:08:37 +0000 (15:08 -0800)
commit541e7b8029be8dff9af5efff5e52bf3068534d62
treecff3ae6a119def2c4ee73f70625094e0c7c07241
parenteba6b009530ddeff338937923698ccac49866051
gh-100739: Respect mock spec when checking for unsafe prefixes (GH-100740)

(cherry picked from commit 7f1eefc6f4843f0fca60308f557a71af11d18a53)

Co-authored-by: Christian Klein <167265+cklein@users.noreply.github.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Lib/unittest/mock.py
Lib/unittest/test/testmock/testmock.py
Misc/NEWS.d/next/Library/2023-01-04-09-53-38.gh-issue-100740.-j5UjI.rst [new file with mode: 0644]