Don't set the @_use_format variable if the provides method is called in inline

This fixes a test that has been skipped.