def METHOD_NAME(request):
    # Don't try and download IERS during tests
    # See https://github.com/astropy/astropy/issues/12998 for issue that this
    # sidesteps
    old_value = iers.conf.auto_download
    iers.conf.auto_download = False
    yield
    iers.conf.auto_download = old_value