Assert #1599 is fixed
()
| 303 | |
| 304 | |
| 305 | def test_geometry_collection_get_bounds(): |
| 306 | """Assert #1599 is fixed""" |
| 307 | geojson_data = { |
| 308 | "geometries": [ |
| 309 | { |
| 310 | "coordinates": [ |
| 311 | [ |
| 312 | [-1, 1], |
| 313 | [0, 2], |
| 314 | [-3, 4], |
| 315 | [2, 0], |
| 316 | ] |
| 317 | ], |
| 318 | "type": "Polygon", |
| 319 | }, |
| 320 | ], |
| 321 | "type": "GeometryCollection", |
| 322 | } |
| 323 | assert folium.GeoJson(geojson_data).get_bounds() == [[0, -3], [4, 2]] |
| 324 | |
| 325 | |
| 326 | def test_choropleth_get_by_key(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…