]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-100739: Respect mock spec when checking for unsafe prefixes (#100740)
authorChristian Klein <167265+cklein@users.noreply.github.com>
Wed, 4 Jan 2023 22:31:29 +0000 (23:31 +0100)
committerGitHub <noreply@github.com>
Wed, 4 Jan 2023 22:31:29 +0000 (22:31 +0000)
commit7f1eefc6f4843f0fca60308f557a71af11d18a53
tree4e9e176fc5596c5dd2d6d094de2887fe41c77833
parent52017dbe1681a7cd4fe0e8d6fbbf81fd711a0506
gh-100739: Respect mock spec when checking for unsafe prefixes (#100740)

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