New submission from Chris Withers <ch...@simplistix.co.uk>:
While working on https://bugs.python.org/issue35226, I stumbled upon this: >>> from unittest.mock import call >>> call.parent() Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: 'NoneType' object is not callable Guess we need to make .parent and friends more uniquely named ;-) ---------- assignee: cjw296 messages: 330757 nosy: cjw296, mariocj89, michael.foord priority: normal severity: normal status: open title: unittest.mock.call can't represent calls to a method called 'parent' _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35357> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com