(self, test_case)
| 310 | (lambda s, users: s.query(users.c.id, users.c.name),), |
| 311 | ) |
| 312 | def test_modern_tuple(self, test_case): |
| 313 | class="cm"># check we are not getting a LegacyRow back |
| 314 | |
| 315 | User, users = self.classes.User, self.tables.users |
| 316 | |
| 317 | self.mapper_registry.map_imperatively(User, users) |
| 318 | |
| 319 | s = fixture_session() |
| 320 | |
| 321 | q = testing.resolve_lambda(test_case, **locals()) |
| 322 | |
| 323 | row = q.order_by(User.id).first() |
| 324 | assert class="st">"jack" in row |
| 325 | |
| 326 | @testing.combinations( |
| 327 | (lambda s, users: s.query(users),), |
nothing calls this directly
no test coverage detected