def test_annotate_varied_annot_same_col(self):
        t1 = table('table1', column("col1"), column("col2"))
        s = select([t1.c.col1._annotate({"foo": "bar"})])
        s2 = select([t1.c.col1._annotate({"bat": "hoho"})])
        s3 = s.union(s2)
        sel = sql_util._deep_annotate(s3, {"new": "thing"})

        eq_(
            sel.selects[0]._raw_columns[0]._annotations,
            {"foo": "bar", "new": "thing"}
        )

        eq_(
            sel.selects[1]._raw_columns[0]._annotations,
            {"bat": "hoho", "new": "thing"}
        )
Append received bytes at the end this buffer.
dataset/ETHPy150Open zzzeek/sqlalchemy/test/sql/test_selectable.py/AnnotationsTest.test_annotate_varied_annot_same_col--crossover with--dataset/ETHPy150Open rlenglet/openfaucet/src/openfaucet/buffer.py/ReceiveBuffer.append