tstTEMPLATE_doctest.txt
24 lines
| 659 B
| text/plain
|
TextLexer
Brian E Granger
|
r1234 | Doctests for the ``XXX`` module | ||
===================================== | ||||
The way doctest loads these, the entire document is applied as a single test | ||||
rather than multiple individual ones, unfortunately. | ||||
Auto-generated tests | ||||
-------------------- | ||||
The tests below are generated from the companion file | ||||
test_toeplitz_doctest.py, which is run via IPython's irunner script to create | ||||
valid doctest input automatically. | ||||
# Setup - all imports are done in tcommon | ||||
Brian E Granger
|
r1237 | >>> from IPython.testing.tcommon import * | ||
Brian E Granger
|
r1234 | |||
# Rest of doctest goes here... | ||||
Manually generated tests | ||||
------------------------ | ||||
These are one-off tests written by hand, copied from an interactive prompt. | ||||