##// END OF EJS Templates
Changed %hist to default to NOT printing numbers, added -p and -o options....
Changed %hist to default to NOT printing numbers, added -p and -o options. -p: print python prompts before inputs -o: print output as well Together, these two make '%hist -op' an easy way to get doctest-valid sessions generated from prior input.

File last commit:

r2397:f49f4c22
r2441:0da36568
Show More
__init__.py
18 lines | 536 B | text/x-python | PythonLexer
"""Testing support (tools to test IPython itself).
"""
# User-level entry point for testing
def test():
"""Run the entire IPython test suite.
For fine-grained control, you should use the :file:`iptest` script supplied
with the IPython installation."""
# Do the import internally, so that this function doesn't increase total
# import time
from iptest import run_iptestall
run_iptestall()
# So nose doesn't try to run this as a test itself and we end up with an
# infinite test loop
test.__test__ = False