[issue30587] Mock with spec object does not ensure method call signatures
Michael Foord
report at bugs.python.org
Tue Sep 10 06:27:32 EDT 2019
Michael Foord <michael at voidspace.org.uk> added the comment:
I'd like spec to have signature validation. I don't think the use case for "attribute validation only" (current spec behaviour) is very strong and I'd rather not add new keywords. The mock API is already too complex.
I'll take the existing PR and modify it to use spec instead of adding the new autospec.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30587>
_______________________________________
More information about the Python-bugs-list
mailing list