test_ok2/changelog/5984.improvement.rst

2 lines
126 B
ReStructuredText

The ``pytest_warning_captured`` hook now receives a ``location`` parameter with the code location that generated the warning.