How to install interlude
- Download and install ActivePython
- Open Command Prompt
pypm install interlude
Provides an interactive shell aka console inside your doctest case.
The console looks exact like in a doctest-case and you can copy and paste code from the shell into your doctest. It feels as you are in the test case itself. Its not pdb, it's a python shell.
In your doctest you can invoke the shell at any point by calling:
>>> interact( locals() )
To make your testrunner interlude aware following is needed:
- import interlude
- suite = DocFileSuite( ..., globs=dict(interact=interlude.interact), ...)
interlude is copyright 2006-2010 by BlueDynamics Alliance, Klein & Partner KG, Austria. It is under the GNU Lesser General Public License (LGPLv3).
fix broken release, include *.rst with MANIFEST.in
- IPython support - alanjds, 2010-12-19
- initial release