Author defreng
Recipients defreng, ezio.melotti, michael.foord, rbcollins, serhiy.storchaka, xtreak
Date 2020-07-17.11:20:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594984858.84.0.529937069753.issue41322@roundup.psfhosted.org>
In-reply-to
Content
I would also strongly vote for raising an error if the test method is a generator - not even silently turn it into a list.

It would be straight forward to implement various checks (like the ones you mentioned for generators, coroutines, ...) - and they will absolutely help to prevent unintended errors, especially by more junior developers.
History
Date User Action Args
2020-07-17 11:20:58defrengsetrecipients: + defreng, rbcollins, ezio.melotti, michael.foord, serhiy.storchaka, xtreak
2020-07-17 11:20:58defrengsetmessageid: <1594984858.84.0.529937069753.issue41322@roundup.psfhosted.org>
2020-07-17 11:20:58defrenglinkissue41322 messages
2020-07-17 11:20:58defrengcreate