diff options
Diffstat (limited to 'contrib/python/pytest/py2/_pytest/config/exceptions.py')
-rw-r--r-- | contrib/python/pytest/py2/_pytest/config/exceptions.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/python/pytest/py2/_pytest/config/exceptions.py b/contrib/python/pytest/py2/_pytest/config/exceptions.py new file mode 100644 index 0000000000..bf58fde5db --- /dev/null +++ b/contrib/python/pytest/py2/_pytest/config/exceptions.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +class UsageError(Exception): + """ error in pytest usage or invocation""" + + +class PrintHelp(Exception): + """Raised when pytest should print it's help to skip the rest of the + argument parsing and validation.""" + + pass |