[IPython-User] Doctest checker in IPython notebook

Thomas Kluyver takowl@gmail....
Fri Oct 12 05:28:22 CDT 2012


On 11 October 2012 20:40, Catherine Devlin <catherine.devlin@gmail.com> wrote:
> I'd also be interested in ideas about how it can look more
> seamless/transparent to use - can the notebook somehow be set up to
> automatically try to run it against all class and function definitions
> found in any of its cells?

My mind jumps to the AST access I've got in a pull request - it would
be quite possible to link that up to a post-execution function to
doctest (or do anything else with) any function defined in the cell.

Thomas


More information about the IPython-User mailing list