(self)
| 1022 | __dialect__ = class="st">"default" |
| 1023 | |
| 1024 | def test_contains(self): |
| 1025 | class MyType(UserDefinedType): |
| 1026 | cache_ok = True |
| 1027 | |
| 1028 | class comparator_factory(UserDefinedType.Comparator): |
| 1029 | def contains(self, other, **kw): |
| 1030 | return self.op(class="st">"->")(other) |
| 1031 | |
| 1032 | self.assert_compile(Column(class="st">"x", MyType()).contains(5), class="st">"x -> :x_1") |
| 1033 | |
| 1034 | def test_getitem(self): |
| 1035 | class MyType(UserDefinedType): |
nothing calls this directly
no test coverage detected