()
| 34 | |
| 35 | |
| 36 | def test_image_mimes(): |
| 37 | fmt = get_ipython().display_formatter.format |
| 38 | for format in display.Image._ACCEPTABLE_EMBEDDINGS: |
| 39 | mime = display.Image._MIMETYPES[format] |
| 40 | img = display.Image(b'garbage', format=format) |
| 41 | data, metadata = fmt(img) |
| 42 | nt.assert_equal(sorted(data), sorted([mime, 'text/plain'])) |
| 43 | |
| 44 | |
| 45 | def test_geojson(): |
nothing calls this directly
no test coverage detected