##// END OF EJS Templates
Merging (slightly modified) Tom Fetherston's demo branch....
Merging (slightly modified) Tom Fetherston's demo branch. I made some small cleanups and fixed a few conflicts, the bulk of the code is Tom's. Many thanks for this contribution!

File last commit:

r1333:933b1e98
r2102:d3a059eb merge
Show More
test_tools_utils.txt
17 lines | 542 B | text/plain | TextLexer
=========================================
Doctests for the ``tools.utils`` module
=========================================
The way doctest loads these, the entire document is applied as a single test
rather than multiple individual ones, unfortunately::
>>> from IPython.tools import utils
# Some other tests for utils
>>> utils.marquee('Testing marquee')
'****************************** Testing marquee ******************************'
>>> utils.marquee('Another test',30,'.')
'........ Another test ........'