What about using a DeprecationWarning instead of UserWarning for deprecated stuff?
Created originally on Bitbucket by thomas_n (Thomas Nygårds)
Was already merged in Bitbucket before import, marked as merged by the import user
What about using a DeprecationWarning instead of UserWarning for deprecated stuff? added changed tests