Use ipython prompts in 'doctest'