(self, test_case)
| 332 | (lambda s, users: select(users.c.id, users.c.name),), |
| 333 | ) |
| 334 | def test_modern_tuple_future(self, test_case): |
| 335 | class="cm"># check we are not getting a LegacyRow back |
| 336 | |
| 337 | User, users = self.classes.User, self.tables.users |
| 338 | |
| 339 | self.mapper_registry.map_imperatively(User, users) |
| 340 | |
| 341 | s = fixture_session() |
| 342 | |
| 343 | q = testing.resolve_lambda(test_case, **locals()) |
| 344 | |
| 345 | if isinstance(q, Query): |
| 346 | row = q.first() |
| 347 | else: |
| 348 | row = s.execute(q.order_by(User.id)).first() |
| 349 | assert class="st">"jack" in row |
| 350 | |
| 351 | @testing.combinations( |
| 352 | (lambda s, users: select(users),), |
nothing calls this directly
no test coverage detected