On 07/29/2015 09:18 AM, Wes Turner wrote:
sorry, I haven't the context for this
tl;dr -- Mock objects now protect against accidentally accessing wrong assert methods by raising an attribute error; this is different than past behavior in that any attribute that didn't exist simply returned a new Mock. Besides guarding against incorrect "assert*" attributes, it also guards against "assret*" attributes.
For the complete history: https://mail.python.org/pipermail/python-dev/2015-July/140720.html Please keep in mind that this has been discussed enough. -- ~Ethan~ _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com