Fix compatibility with pytest 8
Before adoption: this commit came in with the history the project adopted, so no landing records it.
`pytest.warns(None)` has been deprecated in pytest 7.0.0 and it's no longer working in pytest 8.
authored by Lumir Balhar · committed by Lumir Balhar · parent 2a438c2 · Browse files · 2 files+2 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Resolves: https://github.com/psf/requests/issues/6679
Diff stats
2 files+2 added−2 removed
- tests:+1 added−1 removed
- other:+1 added−1 removed