doc/reference: document `FixtureLookupError`
This commit is contained in:
parent
4918883336
commit
f76af423b0
|
@ -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
|
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
|
.. code-block:: python
|
||||||
|
|
||||||
|
|
|
@ -1157,7 +1157,10 @@ When set (regardless of value), pytest will use color in terminal output.
|
||||||
Exceptions
|
Exceptions
|
||||||
----------
|
----------
|
||||||
|
|
||||||
.. autoclass:: pytest.UsageError()
|
.. autoexception:: pytest.UsageError()
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
.. autoexception:: pytest.FixtureLookupError()
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
.. _`warnings ref`:
|
.. _`warnings ref`:
|
||||||
|
|
Loading…
Reference in New Issue