(self)
| 1179 | self.__dialect__ = MyDialect() |
| 1180 | |
| 1181 | def test_setup_getitem(self): |
| 1182 | col = Column("x", self.MyType()) |
| 1183 | |
| 1184 | is_(col[5].type._type_affinity, JSON) |
| 1185 | is_(col[5]["foo"].type._type_affinity, JSON) |
| 1186 | is_(col[("a", "b", "c")].type._type_affinity, JSON) |
| 1187 | |
| 1188 | @testing.combinations( |
| 1189 | (lambda col: col["foo"] + " ", "(x -> :x_1) || :param_1"), |