def METHOD_NAME(local_ds_generator):
    ds = local_ds_generator()
    t1 = ds.create_tensor("tensor1")
    t2 = ds.create_tensor("tensor2")
    t1.info.update(key=0)
    t2.info.update(key=1, key1=0)
    t2.info.key2 = 2
    t2.info["key3"] = 3
    ds = local_ds_generator()
    t1 = ds.tensor1
    t2 = ds.tensor2
    assert len(t1.info) == 1
    assert len(t2.info) == 4
    assert t1.info.key == t1.info["key"] == 0
    assert t2.info.key == t2.info["key"] == 1
    assert t2.info.key1 == t2.info["key1"] == 0
    assert t2.info.key2 == t2.info["key2"] == 2
    assert t2.info.key3 == t2.info["key3"] == 3
    with ds:
        t1.info.update(key=99)
    ds = local_ds_generator()
    t1 = ds.tensor1
    t2 = ds.tensor2
    assert len(t1.info) == 1
    assert len(t2.info) == 4
    assert t1.info.key == 99
    t2.info.pop("key")
    assert len(t2.info) == 3
    t2.info.pop("key2")
    t2.info.pop("key3")
    assert len(t2.info) == 1
    t2.info.clear()
    assert len(t2.info) == 0