def METHOD_NAME():
    def g():
        x = someGeneratorRaising()
        assert type(x) is types.GeneratorType
        yield from x
    gen = g()
    next(gen)
    try:
        next(gen)
    except TypeError:
        pass