I\'d like to write a doctest like this:
\"\"\" >>> print a.string() foo : a bar : b date :
I found it easier to simply assign the unneeded return values to a variable:
>>> _ = do_something() >>> check_something() True