def METHOD_NAME():
    circuit = Circuit(5)
    connectivity = star_connectivity()
    layout = 1
    placer = Custom(connectivity=connectivity, map=layout)
    with pytest.raises(TypeError):
        layout = placer(circuit)