##// END OF EJS Templates
Fix https://bugs.launchpad.net/ipython/+bug/348466 The fix is not ideal, but at least it makes %timeit work. I'd like to have a better solution though in the long term.

File last commit:

r1332:9a4b350a
r1909:9ac7f336
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