(self)
| 3885 | } |
| 3886 | |
| 3887 | def test_select_label_alt_name(self): |
| 3888 | t = self._fixture() |
| 3889 | l1, l2 = t.c.x.label("a"), t.c.y.label("b") |
| 3890 | s = select(l1, l2) |
| 3891 | mapping = self._mapping(s) |
| 3892 | assert l1 in mapping |
| 3893 | |
| 3894 | assert t.c.x not in mapping |
| 3895 | |
| 3896 | def test_select_alias_label_alt_name(self): |
| 3897 | t = self._fixture() |