diff options
author | andrei kulakov <andrei.avk@gmail.com> | 2022-11-07 07:24:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 07:24:46 (GMT) |
commit | c6325b1c9fe60f72bb3fa4b8570a699e9e97af53 (patch) | |
tree | 05a9eefebd36ee790af947636a63aede36b32908 /Misc | |
parent | 728e42fcf51cbb2108caf1382df224c13b53d024 (diff) | |
download | cpython-c6325b1c9fe60f72bb3fa4b8570a699e9e97af53.zip cpython-c6325b1c9fe60f72bb3fa4b8570a699e9e97af53.tar.gz cpython-c6325b1c9fe60f72bb3fa4b8570a699e9e97af53.tar.bz2 |
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>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-05-03-11-32-29.gh-issue-91803.pI4Juv.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-05-03-11-32-29.gh-issue-91803.pI4Juv.rst b/Misc/NEWS.d/next/Library/2022-05-03-11-32-29.gh-issue-91803.pI4Juv.rst new file mode 100644 index 0000000..14829e8 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-05-03-11-32-29.gh-issue-91803.pI4Juv.rst @@ -0,0 +1,3 @@ +Fix an error when using a method of objects mocked with +:func:`unittest.mock.create_autospec` after it was sealed with +:func:`unittest.mock.seal` function. |