When generator spies are in use, a call that returns a generator will not
be considered complete until the generator has been completely consumed
via iteration.
Similarly, when iterable spies are in use, a call that returns an
iterable will not be considered complete until the iterable has been
completely consumed via iteration.