(m_png)
| 60 | |
| 61 | |
| 62 | def test_valid_png_size(m_png): |
| 63 | from folium.utilities import _parse_size |
| 64 | |
| 65 | w = h = 500 |
| 66 | m_png.width = _parse_size(w) |
| 67 | m_png.height = _parse_size(h) |
| 68 | png = m_png._repr_png_() |
| 69 | img = PIL.Image.open(io.BytesIO(png)) |
| 70 | assert img.size == (w, h) |
nothing calls this directly
no test coverage detected
searching dependent graphs…