Added extra documentation on alternatives to common misuses of `pytest.warns(None)` ahead of its deprecation.