[issue21269] Provide args and kwargs attributes on mock call objects

Rémi Lapeyre report at bugs.python.org
Sun Feb 10 11:08:20 EST 2019


Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:

@xtreak, couldn't we have made `_Call` inherit from namedtuple to achieve a similar result (albeit the handling of name would be weird)?

----------

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


More information about the Python-bugs-list mailing list