(self)
| 653 | assert t.c.x not in mapping |
| 654 | |
| 655 | def test_select_alias_label_alt_name(self): |
| 656 | t = self._xy_table_fixture() |
| 657 | l1, l2 = t.c.x.label("a"), t.c.y.label("b") |
| 658 | s = text("select x AS a, y AS b FROM t").columns(l1, l2).alias() |
| 659 | mapping = self._mapping(s) |
| 660 | assert l1 in mapping |
| 661 | |
| 662 | assert t.c.x not in mapping |
| 663 | |
| 664 | def test_select_column(self): |
| 665 | t = self._xy_table_fixture() |