doctest formatting