##// END OF EJS Templates
Added a workaround for %reset magic as it is using raw_input via ask_yes_no.
Added a workaround for %reset magic as it is using raw_input via ask_yes_no.

File last commit:

r1332:9a4b350a
r1808:b20f75fc
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