doc/reference: document `FixtureLookupError`

This commit is contained in:
Ran Benita 2023-12-07 10:41:51 +02:00
parent 4918883336
commit f76af423b0
2 changed files with 5 additions and 2 deletions

View File

@ -168,7 +168,7 @@ Now we'll get feedback on a bad argument:
If you need to provide more detailed error messages, you can use the
``type`` parameter and raise ``pytest.UsageError``:
``type`` parameter and raise :exc:`pytest.UsageError`:
.. code-block:: python

View File

@ -1157,7 +1157,10 @@ When set (regardless of value), pytest will use color in terminal output.
Exceptions
----------
.. autoclass:: pytest.UsageError()
.. autoexception:: pytest.UsageError()
:show-inheritance:
.. autoexception:: pytest.FixtureLookupError()
:show-inheritance:
.. _`warnings ref`: