Replace the deprecated `pytest.warns(None)` with the suggested replacement (from https://github.com/pytest-dev/pytest/issues/9404) to make the test suite forward compatible with pytest-8. This works correctly with pytest-6 as well.
1.6 KiB
1.6 KiB