[issue28961] unittest.mock._Call ignores `name` parameter

Jiajun Huang report at bugs.python.org
Wed Dec 14 22:40:52 EST 2016


Jiajun Huang added the comment:

I think we can write `_Call.__new__` as:

def __new__(cls, value=(), name='',...)

it's much simpler and readable.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28961>
_______________________________________


More information about the Python-bugs-list mailing list