From 5b747b35a10b86e9c87916086375b6f34bff460b Mon Sep 17 00:00:00 2001 From: alimcmaster1 Date: Sat, 19 Sep 2020 18:35:32 +0100 Subject: [PATCH] Use https for network checks --- pandas/_testing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/_testing.py b/pandas/_testing.py index 04d36749a3d8c..3fb869c0f7cee 100644 --- a/pandas/_testing.py +++ b/pandas/_testing.py @@ -2404,7 +2404,7 @@ def can_connect(url, error_classes=None): @optional_args def network( t, - url="http://www.google.com", + url="https://www.google.com", raise_on_error=_RAISE_NETWORK_ERROR_DEFAULT, check_before_test=False, error_classes=None, @@ -2428,7 +2428,7 @@ def network( The test requiring network connectivity. url : path The url to test via ``pandas.io.common.urlopen`` to check - for connectivity. Defaults to 'http://www.google.com'. + for connectivity. Defaults to 'https://www.google.com'. raise_on_error : bool If True, never catches errors. check_before_test : bool @@ -2472,7 +2472,7 @@ def network( You can specify alternative URLs:: - >>> @network("http://www.yahoo.com") + >>> @network("https://www.yahoo.com") ... def test_something_with_yahoo(): ... raise IOError("Failure Message") >>> test_something_with_yahoo()