File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ Deprecated Features
20
20
Below is a complete list of all pytest features which are considered deprecated. Using those features will issue
21
21
:class: `PytestWarning ` or subclasses, which can be filtered using :ref: `standard warning filters <warnings >`.
22
22
23
- dd
23
+ .. _depdeprecate-hook-marks :
24
+
24
25
configuring hook specs/impls using markers
25
26
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26
27
Original file line number Diff line number Diff line change 109
109
110
110
HOOK_LEGACY_MARKING = UnformattedWarning (
111
111
PytestDeprecationWarning ,
112
- "The hook {type} {fullname} is not marked using pytest.hook{type} .\n "
112
+ "The hook{type} {fullname} uses old-style configuration options (marks or attributes) .\n "
113
113
" please use the pytest.hook{type}({hook_opts}) decorator instead of pytest.mark \n "
114
- " to correctly mark hooks as pytest hooks.\n "
114
+ " to configure the hooks.\n "
115
115
" see URL" ,
116
116
)
117
117
You can’t perform that action at this time.
0 commit comments