(self)
| 996 | self.assert_compile(expr, "q LIKE :q_1", checkparams={"q_1": "hi"}) |
| 997 | |
| 998 | def test_invalid_op_custom(self): |
| 999 | class MyType(Integer): |
| 1000 | pass |
| 1001 | |
| 1002 | with expect_deprecated( |
| 1003 | r"Type object .*.MyType.* does not include " |
| 1004 | "operator 'like_op' in its operator classes." |
| 1005 | ): |
| 1006 | expr = column("q", MyType).like("hi") |
| 1007 | |
| 1008 | self.assert_compile(expr, "q LIKE :q_1", checkparams={"q_1": "hi"}) |
| 1009 | |
| 1010 | def test_add_in_classes(self): |
| 1011 | class MyType(Integer): |
nothing calls this directly
no test coverage detected