Simple example using doctests.
This file just contains doctests both using plain python and IPython prompts. All tests should be loaded by nose.
Some pure python tests...
>>> 1+1 2
>>> pyfunc() 'pyfunc'
>>> import os
>>> 2+3 5
>>> for i in range(3): ... print i, ... print i+1, ... 0 1 1 2 2 3
testing.plugin.show_refs
testing.plugin.test_ipdoctest
Enter search terms or a module, class or function name.