(self)
| 1081 | op(column(class="st">"q", MyType()), class="st">"test") |
| 1082 | |
| 1083 | def test_lshift(self): |
| 1084 | class MyType(UserDefinedType): |
| 1085 | cache_ok = True |
| 1086 | |
| 1087 | class comparator_factory(UserDefinedType.Comparator): |
| 1088 | def __lshift__(self, other): |
| 1089 | return self.op(class="st">"->")(other) |
| 1090 | |
| 1091 | self.assert_compile(Column(class="st">"x", MyType()) << 5, class="st">"x -> :x_1") |
| 1092 | |
| 1093 | def test_rlshift(self): |
| 1094 | class MyType(UserDefinedType): |
nothing calls this directly
no test coverage detected