Add a checkbox to raise on deprecation to the tests
Merge pull request #5396 from mixonic/throw-dep

Add a checkbox to raise on deprecation to the tests