[issue21222] Mock create_autospec with name argument fails

Kushal Das report at bugs.python.org
Tue Apr 15 00:00:43 CEST 2014


Kushal Das added the comment:

Fix for the issue with test case. We are checking name in keyword arguments, if found replace _name with it and delete it from keyword arguments.

----------
keywords: +patch
Added file: http://bugs.python.org/file34854/issue21222.patch

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


More information about the Python-bugs-list mailing list