Module:testing.globalipapp

Global IPython app to support test running.

We must start our own ipython object and heavily muck with it so that all themodifications IPython makes to system behavior don’t send the doctest machineryinto a fit. This code should be considered a gross hack, but it gets the jobdone.

3 Functions

IPython.testing.globalipapp.get_ipython()
IPython.testing.globalipapp.xsys(self,cmd)

Replace the default system call with a capturing one for doctest.

IPython.testing.globalipapp.start_ipython()

Start a global IPython shell, which we need for IPython-specific syntax.