Add a new Exceptions section in documentation and document UsageError (#5231)

Add a new Exceptions section in documentation and document UsageError
This commit is contained in:
Bruno Oliveira 2019-06-03 14:41:04 -03:00 committed by GitHub
commit f223d26111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -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 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. processes can inspect it, see :ref:`pytest current test env` for more information.
Exceptions
----------
UsageError
~~~~~~~~~~
.. autoclass:: _pytest.config.UsageError()
.. _`ini options ref`: .. _`ini options ref`: