##// 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.py
16 lines | 427 B | text/x-python | PythonLexer
"""Run this file with
irunner --python filename
to generate valid doctest input.
NOTE: make sure to ALWAYS have a blank line before comments, otherwise doctest
gets confused."""
#---------------------------------------------------------------------------
# Setup - all imports are done in tcommon
import tcommon; reload(tcommon) # for interactive use
from IPython.testing.tcommon import *
# Doctest code begins here