def test_dict_instantiation_graph_obj_error_2(): assert Annotations([Annotations()]) == [[]]
def test_dict_instantiation_key_error_2(): assert Annotations([{"font": "not-a-dict"}]) == [{"font": "not-a-dict"}]
def test_dict_instantiation_key_error(): assert Annotations([{ "not-a-key": "anything" }]) == [{ "not-a-key": "anything" }]
def test_dict_instantiation(): Annotations([{"text": "annotation text"}])
def test_weird_instantiation(): # Python allows this, but nonsensical for us. assert Annotations({}) == list()
def test_trivial(): assert Annotations() == list()