()
| 64 | nt.assert_equal(u'<IPython.core.display.GeoJSON object>', str(gj)) |
| 65 | |
| 66 | def test_retina_png(): |
| 67 | here = os.path.dirname(__file__) |
| 68 | img = display.Image(os.path.join(here, "2x2.png"), retina=True) |
| 69 | nt.assert_equal(img.height, 1) |
| 70 | nt.assert_equal(img.width, 1) |
| 71 | data, md = img._repr_png_() |
| 72 | nt.assert_equal(md['width'], 1) |
| 73 | nt.assert_equal(md['height'], 1) |
| 74 | |
| 75 | def test_embed_svg_url(): |
| 76 | import gzip |
nothing calls this directly
no test coverage detected