Esempio n. 1
0
def test_collect_all_reader_ioresult(iterable, sequence):
    """Iterable for ``ReaderIOResult`` and ``CollectAll``."""
    assert ReaderIOResult.from_iterable(
        iterable,
        CollectAll,
    )(...) == sequence(...)
Esempio n. 2
0
def test_fail_fast_reader_ioresult(iterable, sequence):
    """Iterable for ``ReaderIOResult`` and ``FailFast``."""
    assert ReaderIOResult.from_iterable(
        iterable,
        FailFast,
    )(...) == sequence(...)