tst_tools_utils_doctest.py
12 lines
| 257 B
| text/x-python
|
PythonLexer
Brian E Granger
|
r1234 | # Setup - all imports are done in tcommon | ||
from IPython.testutils import tcommon | ||||
from IPython.testutils.tcommon import * | ||||
# Doctest code begins here | ||||
from IPython.tools import utils | ||||
for i in range(10): | ||||
print i, | ||||
print i+1 | ||||
print 'simple loop is over' | ||||