don't warn about deprecations during testing