summaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py2/_pytest/config/exceptions.py
diff options
context:
space:
mode:
authornkozlovskiy <[email protected]>2023-09-29 12:24:06 +0300
committernkozlovskiy <[email protected]>2023-09-29 12:41:34 +0300
commite0e3e1717e3d33762ce61950504f9637a6e669ed (patch)
treebca3ff6939b10ed60c3d5c12439963a1146b9711 /contrib/python/pytest/py2/_pytest/config/exceptions.py
parent38f2c5852db84c7b4d83adfcb009eb61541d1ccd (diff)
add ydb deps
Diffstat (limited to 'contrib/python/pytest/py2/_pytest/config/exceptions.py')
-rw-r--r--contrib/python/pytest/py2/_pytest/config/exceptions.py10
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 00000000000..bf58fde5dbf
--- /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