]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91803: Mock - fix error when using autospec methods with seal (#92213)
authorandrei kulakov <andrei.avk@gmail.com>
Mon, 7 Nov 2022 07:24:46 +0000 (02:24 -0500)
committerGitHub <noreply@github.com>
Mon, 7 Nov 2022 07:24:46 +0000 (07:24 +0000)
commitc6325b1c9fe60f72bb3fa4b8570a699e9e97af53
tree05a9eefebd36ee790af947636a63aede36b32908
parent728e42fcf51cbb2108caf1382df224c13b53d024
gh-91803: Mock - fix error when using autospec methods with seal (#92213)

Fixes https://github.com/python/cpython/issues/91803.

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Lib/test/test_unittest/testmock/testsealable.py
Lib/unittest/mock.py
Misc/NEWS.d/next/Library/2022-05-03-11-32-29.gh-issue-91803.pI4Juv.rst [new file with mode: 0644]