Permalink
Browse files

Make sure iptest -h only calls run_iptest once.

  • Loading branch information...
1 parent 60991bb commit ed17301c3376150ead567cb9cdacfffc84c512e1 @jstenar committed Mar 4, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 IPython/testing/iptest.py
@@ -565,6 +565,9 @@ def run_iptestall(inc_slow=False):
def main():
+ if ("--help" in sys.argv) or ("-h" in sys.argv):
+ run_iptest()
+ return
for arg in sys.argv[1:]:
if arg.startswith('IPython'):
# This is in-process

0 comments on commit ed17301

Please sign in to comment.