##// END OF EJS Templates
Ensure that we don't damage the __builtins__ object after %run....
Ensure that we don't damage the __builtins__ object after %run. This fixes lp:364853. Also added a standalone set of testing.tools utilities that can be used in place of nose.tools to get proper test generators in object oriented tests.

File last commit:

r1332:9a4b350a
r1955:51bbbb6f
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