chaoflow.testing.ipython 0.4
User ipython interactively in your doctest
Introduction
An interactive ipython shell to be used in your doctest, very similar to and based on interlude.
Usage
>>> from chaoflow.testing.ipython import ipshell, dtipshell
By default you will get the default fancy ipython prompt:
>>> ipshell( locals())
In order to get a prompt suitable for doctest generation, pass doctest=True:
>>> ipshell( locals(), doctest=True)
or use dtipshell, which does exactly that:
>>> dtipshell( locals())
License
chaoflow.testing.ipython is licensed under LGPLv3. Please let me know if this presents a problem for you.
Changelog
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| chaoflow.testing.ipython-0.4.zip (md5, pgp) | Source | 2009-11-26 | 26KB | 519 | |
- Author: Florian Friesdorf
- Home Page: http://github.com/chaoflow/chaoflow.testing.ipython
- License: LGPL
- Categories
- Package Index Owner: chaoflow
- DOAP record: chaoflow.testing.ipython-0.4.xml
