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

Dean Liao report at bugs.python.org
Thu Jan 25 21:59:15 EST 2018


Dean Liao <deanliao at gmail.com> added the comment:

I planned to upgrade Chromium OS's mock module to 2.0.0. I also encountered the issue that classmethod cannot be patched as callable mock.

Reviewers, can we start the review process?

----------
nosy: +deanliao

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


More information about the Python-bugs-list mailing list