def test_collect_all_ioresult(iterable, sequence): """Iterable for ``IOResult`` and ``CollectAll``.""" assert IOResult.from_iterable(iterable, CollectAll) == sequence
def test_fail_fast_ioresult(iterable, sequence): """Iterable for ``IOResult`` and ``FailFast``.""" assert IOResult.from_iterable(iterable, FailFast) == sequence