This documentation is for an old version of IPython. You can find docs for newer versions here.
Global IPython app to support test running.
We must start our own ipython object and heavily muck with it so that all the modifications IPython makes to system behavior don’t send the doctest machinery into a fit. This code should be considered a gross hack, but it gets the job done.
Proxy for sys.stdout/err. This will request the stream at call time allowing for nose’s Capture plugin’s redirection of sys.stdout/err.
name : str
The name of the stream. This will be requested anew at every call