def METHOD_NAME():
    custom_types = {"attr": types.FileAttribute}
    data = {"attr": "spam"}
    new_data, files = utils._transform_types(data, custom_types, transform_data=True)
    assert new_data == {}
    assert files["attr"] == ("attr", "spam")