Intercept compat test deprecation warning

Don't need it cluttering up the test output