Skip to content

Commit afd591e

Browse files
docs url in deprecation
1 parent 563124e commit afd591e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/_pytest/deprecated.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@
112112
"The hook{type} {fullname} uses old-style configuration options (marks or attributes).\n"
113113
" please use the pytest.hook{type}({hook_opts}) decorator instead of pytest.mark \n"
114114
" to configure the hooks.\n"
115-
" see URL",
115+
" see https://docs.pytest.org/en/latest/deprecations.html"
116+
"#configuring-hook-specs-impls-using-markers",
116117
)
117118

118119
# You want to make some `__init__` or function "private".

0 commit comments

Comments
 (0)