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