(self)
| 3373 | assert isinstance(expr.type, MatchType) |
| 3374 | |
| 3375 | def test_boolean_inversion_postgresql(self): |
| 3376 | self.assert_compile( |
| 3377 | ~self.table1.c.myid.match("somstr"), |
| 3378 | "NOT mytable.myid @@ plainto_tsquery(%(myid_1)s::VARCHAR)", |
| 3379 | dialect=postgresql.dialect(), |
| 3380 | ) |
| 3381 | |
| 3382 | def test_boolean_inversion_mysql(self): |
| 3383 | # because mysql doesn't have native boolean |
nothing calls this directly
no test coverage detected