def METHOD_NAME(self, connection):
    table = self.tables.some_table
    s1 = select(table).where(table.c.id == 2)
    s2 = select(table).where(table.c.id == 3)
    u1 = union(s1, s2)
    with testing.expect_deprecated(
        "The SelectBase.c and SelectBase.columns "
        "attributes are deprecated"
    ):
        self._assert_result(
            connection, u1.order_by(u1.c.id), [(2, 2, 3), (3, 3, 4)]
        )