tstTEMPLATE_doctest.txt
24 lines
| 661 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 | ||||
>>> from IPython.testutils.tcommon import * | ||||
# Rest of doctest goes here... | ||||
Manually generated tests | ||||
------------------------ | ||||
These are one-off tests written by hand, copied from an interactive prompt. | ||||