(self)
| 149 | ) |
| 150 | |
| 151 | def test_same_named_col_in_fetch(self): |
| 152 | Data, Other = self.classes("Data", "Other") |
| 153 | bundle = Bundle("pk", Data.id, Other.id) |
| 154 | sess = fixture_session() |
| 155 | |
| 156 | eq_( |
| 157 | sess.query(bundle) |
| 158 | .filter(Data.id == Other.id) |
| 159 | .filter(Data.id < 3) |
| 160 | .all(), |
| 161 | [((1, 1),), ((2, 2),)], |
| 162 | ) |
| 163 | |
| 164 | @testing.combinations(Bundle, DictBundle, argnames="kind") |
| 165 | def test_c_attr(self, kind): |