Alexander Hungenberg <alexander.hungenb...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41322> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com