doctests are real tests.  it's ok to use them without repetition elsewhere.

On Sep 16, 2013, at 7:57 PM, Matthew Rocklin <notifications@github.com> wrote:

> In itertoolz/core.py:
> 
> > +    ['a', 'b', 'c']
> > +    """
> > +    return concat(seqs)
> > +
> > +
> > +def mapcat(f, seqs):
> > +    """
> > +    Apply f to each sequence in seqs, concatenating results
> > +    >>> list(mapcat(lambda s: [c.upper() for c in s],
> > +    ...             [["a", "b"], ["c", "d", "e"]]))
> > +    ['A', 'B', 'C', 'D', 'E']
> > +    """
> > +    return concat(itertools.imap(f, seqs))
> > +
> > +
> > +def cons(el, seq):
> There isn't a test in test_core; do we want to rely on doctests?
> 
> Actually I think I'm ok with this. What are your thoughts?
> 
> —
> Reply to this email directly or view it on GitHub.
>