##// END OF EJS Templates
Initial refactor of task dependency system....
Initial refactor of task dependency system. We are thinking about refactoring the task dependency system. Currently is is based on engine properties and a function sent with each task. In this commit, I have added a TaskRejectError that tasks can raise to indicate that the engine doesn't have the required dependencies. For now I have not removed any of the old stuff, but I have added warnings that we might remove the older *_prop* methods in IMultiEngine. See this ticket for more info: https://bugs.launchpad.net/bugs/361419

File last commit:

r1333:933b1e98
r1952:d68cab7f
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 ........'