Skip to content

Commit

Permalink
Try to avoid network connection during tests.
Browse files Browse the repository at this point in the history
Mitigate ipython#13468
  • Loading branch information
Carreau committed Feb 25, 2022
1 parent 44d64dc commit 88897b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions IPython/core/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,7 @@ def __init__(
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
<IPython.core.display.Image object>
>>> Image('/path/to/image.jpg')
Expand All @@ -897,7 +897,7 @@ def __init__(
it only generates ``<img>`` 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')
<IPython.core.display.Image object>
"""
Expand Down
2 changes: 1 addition & 1 deletion IPython/core/magics/osm.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def alias(self, parameter_s=''):
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::
Expand Down

0 comments on commit 88897b1

Please sign in to comment.