From 9ed8ecd64be967335ce7f098f67aa602a3f3383b 2022-02-25 15:03:50 From: Matthias Bussonnier Date: 2022-02-25 15:03:50 Subject: [PATCH] Merge pull request #13548 from Carreau/no-network Try to avoid network connection during tests. --- diff --git a/IPython/core/display.py b/IPython/core/display.py index d36a176..933295a 100644 --- a/IPython/core/display.py +++ b/IPython/core/display.py @@ -884,7 +884,7 @@ class Image(DisplayObject): a URL, or a filename from which to load image data. The result is always embedding image data for inline images. - >>> Image('http://www.google.fr/images/srpr/logo3w.png') + >>> Image('https://www.google.fr/images/srpr/logo3w.png') # doctest: +SKIP >>> Image('/path/to/image.jpg') @@ -897,7 +897,7 @@ class Image(DisplayObject): it only generates ```` tag with a link to the source. This will not work in the qtconsole or offline. - >>> Image(url='http://www.google.fr/images/srpr/logo3w.png') + >>> Image(url='https://www.google.fr/images/srpr/logo3w.png') """ diff --git a/IPython/core/magics/osm.py b/IPython/core/magics/osm.py index 11fec81..42ed876 100644 --- a/IPython/core/magics/osm.py +++ b/IPython/core/magics/osm.py @@ -127,7 +127,7 @@ class OSMagics(Magics): Aliases expand Python variables just like system calls using ! or !! do: all expressions prefixed with '$' get expanded. For details of the semantic rules, see PEP-215: - http://www.python.org/peps/pep-0215.html. This is the library used by + https://www.python.org/dev/peps/pep-0215/. This is the library used by IPython for variable expansion. If you want to access a true shell variable, an extra $ is necessary to prevent its expansion by IPython::