warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 28 passed, 27 warnings in 0.59s