def METHOD_NAME():
    with pytest.raises(ValueError):
        majority_location(
            subscriber_location_weights=HandsetStats(
                "width", "count", subscriber_handsets=None
            ),
            weight_column="value",
        )