##// END OF EJS Templates
Speedup builtin_trap enter/exit by reducing object creation....
Speedup builtin_trap enter/exit by reducing object creation. Most of the work that was being done on *every* enter/exit cycle could be done statically only once, at object creation time. This trap is used on every single code execution, so we need it to be fast. In the long run we probably want to rethink this system altogether, but for now at least we want it fast.

File last commit:

r2492:7d1b5074
r2957:ec9984dc
Show More
iptest
24 lines | 588 B | text/plain | TextLexer
Fernando Perez
Added new script to test ipython itself.
r1564 #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""IPython Test Suite Runner.
"""
Fernando Perez
Give good error message when starting tests if nose is missing.
r2492 # The tests can't even run if nose isn't available, so might as well give the
# user a civilized error message in that case.
Fernando Perez
Added new script to test ipython itself.
r1564
Fernando Perez
Give good error message when starting tests if nose is missing.
r2492 try:
import nose
except ImportError:
error = """\
ERROR: The IPython test suite requires nose to run.
Please install nose on your system first and try again.
For information on installing nose, see:
http://somethingaboutorange.com/mrl/projects/nose
Exiting."""
import sys
print >> sys.stderr, error
else:
from IPython.testing import iptest
iptest.main()