Update src/_pytest/deprecated.py

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Thomas Grainger
2022-10-10 12:28:30 +01:00
committed by GitHub
parent d86df89a92
commit 7759a9d3c2

View File

@@ -107,7 +107,10 @@ HOOK_LEGACY_MARKING = UnformattedWarning(
"#configuring-hook-specs-impls-using-markers",
)
MARKED_FIXTURE = PytestDeprecationWarning("Marks applied to fixtures have no effect")
MARKED_FIXTURE = PytestDeprecationWarning(
"Marks applied to fixtures have no effect\n"
"See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function"
)
# You want to make some `__init__` or function "private".
#