tstTEMPLATE_doctest.py
16 lines
| 427 B
| text/x-python
|
PythonLexer
Brian E Granger
|
r1234 | """Run this file with | ||
irunner --python filename | ||||
to generate valid doctest input. | ||||
NOTE: make sure to ALWAYS have a blank line before comments, otherwise doctest | ||||
gets confused.""" | ||||
#--------------------------------------------------------------------------- | ||||
# Setup - all imports are done in tcommon | ||||
import tcommon; reload(tcommon) # for interactive use | ||||
Brian E Granger
|
r1237 | from IPython.testing.tcommon import * | ||
Brian E Granger
|
r1234 | |||
# Doctest code begins here | ||||