From: Thomas Robitaille <thomas.robitaille@gmail.com>
Date: Thu, 12 Jan 2017 11:54:25 +0000
Subject: Fix default value for remote_data option

Pull request: https://github.com/astropy/astropy/pull/5689
---
 astropy/tests/runner.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/astropy/tests/runner.py b/astropy/tests/runner.py
index cf11c2f..6f1e6b4 100644
--- a/astropy/tests/runner.py
+++ b/astropy/tests/runner.py
@@ -353,7 +353,7 @@ class TestRunner(TestRunnerBase):
 
         return []
 
-    @keyword()
+    @keyword(default_value='none')
     def remote_data(self, remote_data, kwargs):
         """
         remote_data : {'none', 'astropy', 'any'}, optional
@@ -369,9 +369,10 @@ class TestRunner(TestRunnerBase):
             remote_data = 'none'
         elif remote_data not in ('none', 'astropy', 'any'):
             warnings.warn("The remote_data option should be one of "
-                          "none/astropy/any. For backward-compatibility, "
+                          "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.",
+                          "one of the supported ones to avoid issues in "
+                          "future.".format(remote_data),
                           AstropyDeprecationWarning)
             remote_data = 'any'
 
