示例#1
0
def test_collect_all_ioresult(iterable, sequence):
    """Iterable for ``IOResult`` and ``CollectAll``."""
    assert IOResult.from_iterable(iterable, CollectAll) == sequence
示例#2
0
def test_fail_fast_ioresult(iterable, sequence):
    """Iterable for ``IOResult`` and ``FailFast``."""
    assert IOResult.from_iterable(iterable, FailFast) == sequence