Skip to content

Commit f76af42

Browse files
committed
doc/reference: document FixtureLookupError
1 parent 4918883 commit f76af42

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

doc/en/example/simple.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Now we'll get feedback on a bad argument:
168168
169169
170170
If you need to provide more detailed error messages, you can use the
171-
``type`` parameter and raise ``pytest.UsageError``:
171+
``type`` parameter and raise :exc:`pytest.UsageError`:
172172

173173
.. code-block:: python
174174

doc/en/reference/reference.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,10 @@ When set (regardless of value), pytest will use color in terminal output.
11571157
Exceptions
11581158
----------
11591159

1160-
.. autoclass:: pytest.UsageError()
1160+
.. autoexception:: pytest.UsageError()
1161+
:show-inheritance:
1162+
1163+
.. autoexception:: pytest.FixtureLookupError()
11611164
:show-inheritance:
11621165

11631166
.. _`warnings ref`:

0 commit comments

Comments
 (0)