Ejemplo n.º 1
0
def test_collect_all_io(iterable, sequence):
    """Iterable for ``IO`` and ``CollectAll``."""
    assert IO.from_iterable(iterable, CollectAll) == sequence
Ejemplo n.º 2
0
def test_fail_fast_io(iterable, sequence):
    """Iterable for ``IO`` and ``FailFast``."""
    assert IO.from_iterable(iterable, FailFast) == sequence