Remove unrelated warning from deprecation test