aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py3/_pytest/config/exceptions.py
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-09 12:00:52 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 15:58:17 +0300
commit8e1413fed79d1e8036e65228af6c93399ccf5502 (patch)
tree502c9df7b2614d20541c7a2d39d390e9a51877cc /contrib/python/pytest/py3/_pytest/config/exceptions.py
parent6b813c17d56d1d05f92c61ddc347d0e4d358fe85 (diff)
downloadydb-8e1413fed79d1e8036e65228af6c93399ccf5502.tar.gz
intermediate changes
ref:614ed510ddd3cdf86a8c5dbf19afd113397e0172
Diffstat (limited to 'contrib/python/pytest/py3/_pytest/config/exceptions.py')
-rw-r--r--contrib/python/pytest/py3/_pytest/config/exceptions.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/python/pytest/py3/_pytest/config/exceptions.py b/contrib/python/pytest/py3/_pytest/config/exceptions.py
index 19fe5cb08ed..4f1320e758d 100644
--- a/contrib/python/pytest/py3/_pytest/config/exceptions.py
+++ b/contrib/python/pytest/py3/_pytest/config/exceptions.py
@@ -1,9 +1,11 @@
+from _pytest.compat import final
+
+
+@final
class UsageError(Exception):
- """ error in pytest usage or invocation"""
+ """Error in pytest usage or invocation."""
class PrintHelp(Exception):
- """Raised when pytest should print it's help to skip the rest of the
+ """Raised when pytest should print its help to skip the rest of the
argument parsing and validation."""
-
- pass