Skip to content

Instantly share code, notes, and snippets.

@tispratik
Created February 5, 2015 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tispratik/aebff28b8c5afd7bee59 to your computer and use it in GitHub Desktop.
Save tispratik/aebff28b8c5afd7bee59 to your computer and use it in GitHub Desktop.
Testing argparse for exception
try:
input_args = []
arg_parse_utils.parse_args(arg_meta_list, input_args)
except SystemExit:
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment