homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients Gregory.Salvan, Julian, eric.araujo, martin.panter, michael.foord, ncoghlan, pakal, r.david.murray, rbcollins, serhiy.storchaka
Date 2019年07月10日.00:43:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562719417.06.0.670239601222.issue19645@roundup.psfhosted.org>
In-reply-to
Content
"But - what are we solving for here?" I'll tell you what my fairly common use case is. Suppose I have some test infrastructure code, and I want to make some assertions in it. What I invariably end up doing is passing 'self' into the infrastructure method/class just so I can call the assert methods from it. I'd much rather be just calling the assertions, without carrying the whole test object around. It *works* to do that, but it bothers me every time I do it or read it in code, and it makes the infrastructure code needlessly more complicated and slightly harder to understand/read.
History
Date User Action Args
2019年07月10日 00:43:37r.david.murraysetrecipients: + r.david.murray, ncoghlan, rbcollins, eric.araujo, pakal, michael.foord, Julian, martin.panter, serhiy.storchaka, Gregory.Salvan
2019年07月10日 00:43:37r.david.murraysetmessageid: <1562719417.06.0.670239601222.issue19645@roundup.psfhosted.org>
2019年07月10日 00:43:37r.david.murraylinkissue19645 messages
2019年07月10日 00:43:36r.david.murraycreate

AltStyle によって変換されたページ (->オリジナル) /