def METHOD_NAME():
    """
    Test that error is raised if the spatial unit of the subscriber locations isn't point.
    """
    with pytest.raises(ValueError, match="does not have longitude/latitude columns"):
        DistanceSeries(
            subscriber_locations=SubscriberLocations(
                "2016-01-01",
                "2016-01-07",
                spatial_unit=make_spatial_unit("admin", level=3),
            )
        )