[issue23078] unittest.mock patch autospec doesn't work on staticmethods

Berker Peksag report at bugs.python.org
Sun Apr 21 23:07:58 EDT 2019


Berker Peksag <berker.peksag at gmail.com> added the comment:


New changeset 15a57a3cadb992bb1752302333ff593e7eab284c by Berker Peksag in branch '3.7':
bpo-23078: Add support for {class,static}method to mock.create_autospec() (GH-11613)
https://github.com/python/cpython/commit/15a57a3cadb992bb1752302333ff593e7eab284c


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue23078>
_______________________________________


More information about the Python-bugs-list mailing list