Skip to content

Commit 43776fc

Browse files
Glyphackwebknjaz
andcommitted
Update src/_pytest/compat.py
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
1 parent 217d343 commit 43776fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_pytest/compat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def ascii_escaped(val: bytes | str) -> str:
211211

212212
def get_real_func(obj):
213213
"""Get the real function object of the (possibly) wrapped object by
214-
functools.wraps or functools.partial or pytest.fixture"""
214+
:func:`functools.wraps`, or :func:`functools.partial`, or :func:`pytest.fixture`."""
215215
from _pytest.fixtures import FixtureFunctionDefinition
216216

217217
start_obj = obj

0 commit comments

Comments
 (0)