(self)
| 1111 | self.assert_compile(Column("x", MyType()) >> 5, "x -> :x_1") |
| 1112 | |
| 1113 | def test_rrshift(self): |
| 1114 | class MyType(UserDefinedType): |
| 1115 | cache_ok = True |
| 1116 | |
| 1117 | class comparator_factory(UserDefinedType.Comparator): |
| 1118 | def __rrshift__(self, other): |
| 1119 | return self.op("->")(other) |
| 1120 | |
| 1121 | self.assert_compile(5 >> Column("x", MyType()), "x -> :x_1") |
| 1122 | |
| 1123 | def test_matmul(self): |
| 1124 | class MyType(UserDefinedType): |
nothing calls this directly
no test coverage detected