(self)
| 1091 | self.assert_compile(Column("x", MyType()) << 5, "x -> :x_1") |
| 1092 | |
| 1093 | def test_rlshift(self): |
| 1094 | class MyType(UserDefinedType): |
| 1095 | cache_ok = True |
| 1096 | |
| 1097 | class comparator_factory(UserDefinedType.Comparator): |
| 1098 | def __rlshift__(self, other): |
| 1099 | return self.op("->")(other) |
| 1100 | |
| 1101 | self.assert_compile(5 << Column("x", MyType()), "x -> :x_1") |
| 1102 | |
| 1103 | def test_rshift(self): |
| 1104 | class MyType(UserDefinedType): |
nothing calls this directly
no test coverage detected