(self, caster, expected_type)
| 1275 | |
| 1276 | @_caster_combinations |
| 1277 | def test_cast_ops(self, caster, expected_type): |
| 1278 | expr = Column("x", JSON)["foo"] |
| 1279 | |
| 1280 | expr = getattr(expr, "as_%s" % caster)() |
| 1281 | is_(expr.type._type_affinity, expected_type) |
| 1282 | |
| 1283 | @_caster_combinations |
| 1284 | def test_cast_ops_unsupported_on_non_binary(self, caster, expected_type): |