(self)
| 1101 | self.assert_compile(5 << Column("x", MyType()), "x -> :x_1") |
| 1102 | |
| 1103 | def test_rshift(self): |
| 1104 | class MyType(UserDefinedType): |
| 1105 | cache_ok = True |
| 1106 | |
| 1107 | class comparator_factory(UserDefinedType.Comparator): |
| 1108 | def __rshift__(self, other): |
| 1109 | return self.op("->")(other) |
| 1110 | |
| 1111 | self.assert_compile(Column("x", MyType()) >> 5, "x -> :x_1") |
| 1112 | |
| 1113 | def test_rrshift(self): |
| 1114 | class MyType(UserDefinedType): |
nothing calls this directly
no test coverage detected