]> granicus.if.org Git - python/commit
Make unittest.mock.create_autospec resilient against AttributeError on original object
authorMichael Foord <michael@voidspace.org.uk>
Fri, 13 Apr 2012 16:39:16 +0000 (17:39 +0100)
committerMichael Foord <michael@voidspace.org.uk>
Fri, 13 Apr 2012 16:39:16 +0000 (17:39 +0100)
commit656319e58d80478c7aa2a783606f0b50053529ae
tree80e54a5ab0f5bac83555ca929453bb5292ce18ec
parent899ee613f7b4a4f5967943095d5fbc9522356ad3
Make unittest.mock.create_autospec resilient against AttributeError on original object
Lib/unittest/mock.py
Lib/unittest/test/testmock/testhelpers.py