Warning
This documentation is for an old version of IPython.
You can find docs for newer versions here.
 
Module: testing.plugin.simple
Simple example using doctests.
This file just contains doctests both using plain python and IPython prompts.
All tests should be loaded by nose.
2 Functions
- 
IPython.testing.plugin.simple.pyfunc()
 
Some pure python tests...
>>> for i in range(3):
...     print i,
...     print i+1,
...
0 1 1 2 2 3
 
 
- 
IPython.testing.plugin.simple.ipyfunc2()
 
Some pure python tests...