(self, caster, expected_type)
| 1125 | |
| 1126 | @_caster_combinations |
| 1127 | def test_cast_ops(self, caster, expected_type): |
| 1128 | expr = Column("x", JSON)["foo"] |
| 1129 | |
| 1130 | expr = getattr(expr, "as_%s" % caster)() |
| 1131 | is_(expr.type._type_affinity, expected_type) |
| 1132 | |
| 1133 | @_caster_combinations |
| 1134 | def test_cast_ops_unsupported_on_non_binary(self, caster, expected_type): |