(self)
| 198 | ) |
| 199 | |
| 200 | def test_named_selectable(self): |
| 201 | class Point: |
| 202 | pass |
| 203 | |
| 204 | table = self._fixture(Point) |
| 205 | |
| 206 | alias = aliased(table, name="pp") |
| 207 | |
| 208 | self.assert_compile( |
| 209 | select(alias), "SELECT pp.id, pp.x, pp.y FROM point AS pp" |
| 210 | ) |
| 211 | |
| 212 | def test_not_instantiatable(self): |
| 213 | class Point: |
nothing calls this directly
no test coverage detected