]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85934: Use getattr_static when adding mock spec (#22209)
authormelanie witt <melwittt@gmail.com>
Tue, 23 May 2023 23:10:34 +0000 (16:10 -0700)
committerGitHub <noreply@github.com>
Tue, 23 May 2023 23:10:34 +0000 (17:10 -0600)
commit2e0931046dcc200fd6abb2cdfaf57d8b99117c57
treeebb46d171eacd829f6ec537077a812676393d4ca
parent6b1510cf11c16c8e4381810c15ceeda6f89e79f4
gh-85934: Use getattr_static when adding mock spec (#22209)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Lib/test/test_unittest/testmock/testmock.py
Lib/unittest/mock.py
Misc/NEWS.d/next/Library/2020-09-16-16-53-06.bpo-41768.8_fWkC.rst [new file with mode: 0644]