From 1d6bbab2b044240d34c20cc634c56dd24938cfbe Mon Sep 17 00:00:00 2001 From: Pulkit Goyal <7895pulkit@gmail.com> Date: Wed, 8 May 2019 22:42:49 +0300 Subject: [PATCH] Add a new Exceptions section in documentation and document UsageError --- doc/en/reference.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/en/reference.rst b/doc/en/reference.rst index cc5fe8d8b..0b168eb54 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -951,6 +951,14 @@ PYTEST_CURRENT_TEST This is not meant to be set by users, but is set by pytest internally with the name of the current test so other processes can inspect it, see :ref:`pytest current test env` for more information. +Exceptions +---------- + +UsageError +~~~~~~~~~~ + +.. autoclass:: _pytest.config.UsageError() + .. _`ini options ref`: