##// END OF EJS Templates
More testing cleanup...
Fernando Perez -
Show More
@@ -1,42 +1,17 b''
1 1 =========================================
2 2 Doctests for the ``tools.utils`` module
3 3 =========================================
4 4
5 5 The way doctest loads these, the entire document is applied as a single test
6 rather than multiple individual ones, unfortunately.
6 rather than multiple individual ones, unfortunately::
7 7
8
9 Auto-generated tests
10 ====================
11
12
13 ----------------------------------------------------------------------------
14
15 Begin included file tst_tools_utils_doctest2.py::
16
17 # Setup - all imports are done in tcommon
18 >>> from IPython.testing import tcommon
19 >>> from IPython.testing.tcommon import *
20
21 # Doctest code begins here
22 8 >>> from IPython.tools import utils
23
9
24 10 # Some other tests for utils
25
11
26 12 >>> utils.marquee('Testing marquee')
27 13 '****************************** Testing marquee ******************************'
28
14
29 15 >>> utils.marquee('Another test',30,'.')
30 16 '........ Another test ........'
31
32
33 End included file tst_tools_utils_doctest2.py
34
35 ----------------------------------------------------------------------------
36
37
38
39 Manually generated tests
40 ========================
41 17
42 These are one-off tests written by hand, copied from an interactive prompt.
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now