Hi,
Checking for argument type with a isinstance is a bad smell. You should
not test argument types, but use polymorphism instead.
r.
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "mockito-python" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/mockito-python/MfUPBPb98PI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
>
mockito-pytho...@googlegroups.com.
> To post to this group, send email to
mockito...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/mockito-python.
> For more options, visit
https://groups.google.com/groups/opt_out.
--
Réduire, réutiliser, recycler, repenser
Reduce, reuse, recycle, rethink