This is one of those OMG why didn’t I know this before moments. Been developing python for how many years?
Was slapping some doctests into an ancient library written years ago and searched for… I don’t even remember. But ran across this little gem about %doctest_mode in iPython
Outrageously cool. Game changing. Life altering. Okay, at least outrageously cool.
For my couple of friends writing in python it’s totally worth checking out.