helpers for asserting deprecation and other warnings.
You can use the recwarn funcarg to track warnings within a test function:
You can also call a global helper for checking taht a certain function call yields a Deprecation warning:
Return a WarningsRecorder instance that provides these methods:
Checkout customize, other plugins or get in contact.