Message373824
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:58 | defreng | set | recipients:
+ defreng, rbcollins, ezio.melotti, michael.foord, serhiy.storchaka, xtreak |
2020-07-17 11:20:58 | defreng | set | messageid: <1594984858.84.0.529937069753.issue41322@roundup.psfhosted.org> |
2020-07-17 11:20:58 | defreng | link | issue41322 messages |
2020-07-17 11:20:58 | defreng | create | |
|