Commit 7fc0283
doc: fix removed pytest.config reference in historical-notes (#14216)
pytest.config was removed in pytest 5.0, but the documentation on
'Conditions as strings instead of booleans' still showed it as the
modern equivalent of string-based skipif conditions.
Replace the broken example with the current recommended approach using
request.config (via an autouse fixture), and add a note pointing to
the removal notice in the deprecations page.
Fixes #12377
(cherry picked from commit 9fd1eeb)1 parent 3065de7 commit 7fc0283
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
271 | 276 | | |
272 | 277 | | |
273 | 278 | | |
274 | 279 | | |
275 | 280 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
280 | 284 | | |
281 | 285 | | |
282 | 286 | | |
| |||
0 commit comments