30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
From f75c754e2fa82a1cb24a79ca691adf3c167a1633 Mon Sep 17 00:00:00 2001
|
|
From: Lumir Balhar <lbalhar@redhat.com>
|
|
Date: Mon, 4 May 2020 08:53:00 +0200
|
|
Subject: [PATCH] Remove a part of a test which needs internet
|
|
|
|
---
|
|
IPython/core/tests/test_display.py | 6 +-----
|
|
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
|
|
diff --git a/IPython/core/tests/test_display.py b/IPython/core/tests/test_display.py
|
|
index 04c9325..cdc7272 100644
|
|
--- a/IPython/core/tests/test_display.py
|
|
+++ b/IPython/core/tests/test_display.py
|
|
@@ -106,11 +106,7 @@ def test_embed_svg_url():
|
|
svg = display.SVG(url=url + 'z')
|
|
nt.assert_true(svg._repr_svg_().startswith('<svg'))
|
|
|
|
- # do it for real: 6.1kB of data
|
|
- url = "https://upload.wikimedia.org/wikipedia/commons/3/30/Vector-based_example.svg"
|
|
- svg = display.SVG(url=url)
|
|
- nt.assert_true(svg._repr_svg_().startswith('<svg'))
|
|
-
|
|
+
|
|
def test_retina_jpeg():
|
|
here = os.path.dirname(__file__)
|
|
img = display.Image(os.path.join(here, "2x2.jpg"), retina=True)
|
|
--
|
|
2.26.2
|
|
|