##// END OF EJS Templates
Removed some tabs and added a new way of skipping tests that have...
Removed some tabs and added a new way of skipping tests that have missing dependencies. Previously, we were skipping tests in a hackish way if something was missing (like Twisted). Now we do the following:: try: import twisted except ImportError: import nose raise nose.SkipTest("Twisted is required for this test") This method should be used for all IPython tests that have dependencies.

File last commit:

r1332:9a4b350a
r1555:ea082057
Show More
tstTEMPLATE_doctest.txt
24 lines | 659 B | text/plain | TextLexer
/ IPython / testing / attic / tstTEMPLATE_doctest.txt
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.testing.tcommon import *
# Rest of doctest goes here...
Manually generated tests
------------------------
These are one-off tests written by hand, copied from an interactive prompt.