]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32153: Add unit test for create_autospec with partial function returned in getatt...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 3 Dec 2018 08:26:06 +0000 (00:26 -0800)
committerChris Withers <chris@withers.org>
Mon, 3 Dec 2018 08:26:06 +0000 (08:26 +0000)
commit1ef06c62d3c05cbba6448c56af30a09c551c9ec2
tree9171c3d8700237399382159f1f75bc321f512651
parent6cb0486ce861903448bd6ba1095685b6cd48e3bd
bpo-32153: Add unit test for create_autospec with partial function returned in getattr (GH-10398) (#10855)

* Add create_autospec with partial function returned in getattr

* Use self.assertFalse instead of assert

* Use different names and remove object
(cherry picked from commit c667b094ae37799a7e42ba5cd2ad501cc7920888)

Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
Lib/unittest/test/testmock/testhelpers.py