def complex_table():
    """
    Return a masked table from the io.votable test set that has a wide variety
    of stressing types.
    """
    from astropy.utils.data import get_pkg_data_filename
    from astropy.io.votable.table import parse
    import warnings
    with warnings.catch_warnings():
        warnings.simplefilter('ignore')
        votable = parse(get_pkg_data_filename(
            '../io/votable/tests/data/regression.xml'), pedantic=False)
    first_table = votable.get_first_table()
    table = first_table.to_table()
    return table
