summaryrefslogtreecommitdiff
path: root/tests/basics/gen_yield_from_throw2.py
AgeCommit message (Collapse)Author
2018-09-28py/vm: Fix case of throwing GeneratorExit type into yield-from.Damien George
mp_make_raise_obj must be used to convert a possible exception type to an instance object, otherwise the VM may raise a non-exception object. An existing test is adjusted to test this case, with the original test already moved to generator_throw.py.
2017-01-17tests: Update tests, and add new ones, for recent generator tweaks.Damien George
2016-12-20tests/basics: Improve test coverage for generators.Rami Ali