module documentation
Undocumented
Function | assert |
Assert that each of the given warnings are emitted by fn. |
Function | setup |
hook for setting up warnings filters. |
Function | warn |
Undocumented |
Assert that each of the given warnings are emitted by fn. Deprecated. Please use assertions.expect_warnings().
hook for setting up warnings filters. SQLAlchemy-specific classes must only be here and not in pytest config, as we need to delay importing SQLAlchemy until conftest.py has been processed. NOTE: filters on subclasses of DeprecationWarning or PendingDeprecationWarning have no effect if added here, since pytest will add at each test the following filters ``always::PendingDeprecationWarning`` and ``always::DeprecationWarning`` that will take precedence over any added here.