(geometry, func)
| 71 | @pytest.mark.parametrize("geometry", all_types) |
| 72 | @pytest.mark.parametrize("func", CONSTRUCTIVE_NO_ARGS) |
| 73 | def test_no_args_array(geometry, func): |
| 74 | if ( |
| 75 | geometry.is_empty |
| 76 | and shapely.get_num_geometries(geometry) > 0 |
| 77 | and func is shapely.node |
| 78 | and ( |
| 79 | (geos39 and geos_version < (3, 9, 3)) |
| 80 | or (geos310 and geos_version < (3, 10, 3)) |
| 81 | ) |
| 82 | ): # GEOS GH-601 |
| 83 | pytest.xfail("GEOS < 3.9.3 or GEOS < 3.10.3 crashes with empty geometries") |
| 84 | actual = func([geometry, geometry]) |
| 85 | assert actual.shape == (2,) |
| 86 | assert actual[0] is None or isinstance(actual[0], Geometry) |
| 87 | |
| 88 | |
| 89 | @pytest.mark.parametrize("geometry", all_types) |
nothing calls this directly
no test coverage detected
searching dependent graphs…