'remote_data : {\'none\', \'astropy\', \'any\'}, optional
Controls whether to run tests marked with @remote_data. This can be
set to run no tests with remote data (``none``), only ones that use
data from http://data.astropy.org (``astropy``), or all tests that
use remote data (``any``). The default is ``none``.'

@keyword(default_value=u'none')
def remote_data(self, remote_data, kwargs):

    if (remote_data is True):
        remote_data = u'any'
    elif (remote_data is False):
        remote_data = u'none'
    elif (remote_data not in (u'none', u'astropy', u'any')):
        warnings.warn(u"The    remote_data    option    should    be    one    of    none/astropy/any    (found    {0}).    For    backward-compatibility,    assuming    'any',    but    you    should    change    the    option    to    be    one    of    the    supported    ones    to    avoid    issues    in    future.".format(remote_data), AstropyDeprecationWarning)
        remote_data = u'any'
    return [u'--remote-data={0}'.format(remote_data)]
