Reducing confusion from `pytest.warns(None)` by: - Allowing no arguments to be passed in order to catch any exception (no argument defaults to `Warning`). - Emit a deprecation warning if passed `None`.