def METHOD_NAME():
    votable = tree.VOTableFile()
    # ...with one resource...
    resource = tree.Resource()
    votable.resources.append(resource)
    # ... with one table
    table = tree.Table(votable)
    resource.tables.append(table)
    table.fields.extend(
        [tree.Field(votable, name="Test", datatype="float", unit="mag")]
    )