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 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 <>
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.
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: <>
2020-07-17 11:20:58defrenglinkissue41322 messages
2020-07-17 11:20:58defrengcreate