]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300)
authorNikita Sobolev <mail@sobolevn.me>
Tue, 14 Sep 2021 10:20:40 +0000 (13:20 +0300)
committerGitHub <noreply@github.com>
Tue, 14 Sep 2021 10:20:40 +0000 (12:20 +0200)
commit7f60c9e1c6e22cc0e846a872c318570926cd3094
treec1b19fca9b51e98473e63e0bf43767086011c283
parentc99fc4e53a60084df88ac5c69b3b13bc033677e1
bpo-45156: Fixes inifite loop on unittest.mock.seal() (GH-28300)

Fixes infinite loop on unittest.mock.seal() of mocks created by
unittest.create_autospec().

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Lib/unittest/mock.py
Lib/unittest/test/testmock/testsealable.py
Misc/NEWS.d/next/Tests/2021-09-13-00-28-17.bpo-45156.8oomV3.rst [new file with mode: 0644]