##// END OF EJS Templates
Merge pull request #4131 from rossant/cython-magic-name-argument...
Merge pull request #4131 from rossant/cython-magic-name-argument Add module's name argument in %%cython magic This new option lets the user specify an explicit module name for its Cython cell rather than letting IPython generating a random name automatically. With this option, one can reuse a function defined in one %%cython cell magic in another %%cython cell magic, by doing an import of the module corresponding to the first cell magic.

File last commit:

r12607:fc506b0f
r12799:929d291e merge
Show More
iptest
24 lines | 608 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:
Thomas Kluyver
Split out iptestcontroller to control test process.
r12607 from IPython.testing import iptestcontroller
iptestcontroller.main()