##// END OF EJS Templates
Do not require GTK to be either present or usable to start....
Do not require GTK to be either present or usable to start. Before, we only checked that we could import GTK, but in a linux console, it's possible to import it while not being able to start it (no X11 present). This should resolve https://bugzilla.redhat.com/show_bug.cgi?id=646079 Thanks to Tom Spura for reporting it.

File last commit:

r1333:933b1e98
r3194:81615235
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 ........'