Fail tests on any unhandled warning
This MR patches the pytest configuration in pyproject.toml to fail a test which emits any warning that isn't handled. This helps to avoid deprecation warnings creeping in.
This MR patches the pytest configuration in pyproject.toml to fail a test which emits any warning that isn't handled. This helps to avoid deprecation warnings creeping in.