##// END OF EJS Templates
Simplify options handling code by using argparse argument_default....
Simplify options handling code by using argparse argument_default. The argparse.ArgumentParser class supports an instance-wide default, so we can set that once instead of having every argument configured with the same default always.

File last commit:

r2397:f49f4c22
r2428:f8bf80c5
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