Show More
@@ -106,11 +106,6 def test_embed_svg_url(): | |||||
106 | svg = display.SVG(url=url + 'z') |
|
106 | svg = display.SVG(url=url + 'z') | |
107 | nt.assert_true(svg._repr_svg_().startswith('<svg')) |
|
107 | nt.assert_true(svg._repr_svg_().startswith('<svg')) | |
108 |
|
108 | |||
109 | # do it for real: 6.1kB of data |
|
|||
110 | url = "https://upload.wikimedia.org/wikipedia/commons/3/30/Vector-based_example.svg" |
|
|||
111 | svg = display.SVG(url=url) |
|
|||
112 | nt.assert_true(svg._repr_svg_().startswith('<svg')) |
|
|||
113 |
|
||||
114 | def test_retina_jpeg(): |
|
109 | def test_retina_jpeg(): | |
115 | here = os.path.dirname(__file__) |
|
110 | here = os.path.dirname(__file__) | |
116 | img = display.Image(os.path.join(here, "2x2.jpg"), retina=True) |
|
111 | img = display.Image(os.path.join(here, "2x2.jpg"), retina=True) |
General Comments 0
You need to be logged in to leave comments.
Login now