IPython Test Suite Runner.
This module provides a main entry point to a user script to test IPython itself from the command line. There are two ways of running this script:
A nose plugin to effect our exclusions of files and directories.
exclude_patterns : sequence of strings, optional
Return whether the given directory should be scanned for tests.
Return whether the given filename should be scanned for tests.
Safely stop the thread.
Test to see if item is importable, and optionally check against a minimum version.
If min_version is given, the default behavior is to check against the __version__ attribute of the item, but specifying callback allows you to extract the value you are interested in. e.g:
In : import sys In : from IPython.testing.iptest import test_for In : test_for('sys', (2,6), callback=lambda sys: sys.version_info) Out: True
Run the IPython test suite using nose.
This function is called when this script is not called with the form iptest all. It simply calls nose with appropriate command line flags and accepts all of the standard nose arguments.