(self)
| 1121 | self.assert_compile(5 >> Column("x", MyType()), "x -> :x_1") |
| 1122 | |
| 1123 | def test_matmul(self): |
| 1124 | class MyType(UserDefinedType): |
| 1125 | cache_ok = True |
| 1126 | |
| 1127 | class comparator_factory(UserDefinedType.Comparator): |
| 1128 | def __matmul__(self, other): |
| 1129 | return self.op("->")(other) |
| 1130 | |
| 1131 | self.assert_compile(Column("x", MyType()) @ 5, "x -> :x_1") |
| 1132 | |
| 1133 | def test_rmatmul(self): |
| 1134 | class MyType(UserDefinedType): |
nothing calls this directly
no test coverage detected