]> 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:11:46 +0000 (15:11 -0800)
committerGitHub <noreply@github.com>
Wed, 4 Jan 2023 23:11:46 +0000 (15:11 -0800)
commitf49cc3c805dbc1bc54edeba3c248b875b3e6f3d3
tree2dc4481958796cb4873b7e1b4b6f37d29f37fca1
parentfee4059d213401011457531933e64790b181f33c
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]