Commit 45e3fbf
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)
Co-authored-by: Maxime Grenu <69890511+cluster2600@users.noreply.github.com>
1 parent 3065de7 commit 45e3fbf
1 file changed
Lines changed: 10 additions & 6 deletions
| 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