(self)
| 3180 | assert not literal_column("x = y")._is_implicitly_boolean |
| 3181 | |
| 3182 | def test_scalar_select(self): |
| 3183 | t = self.table1 |
| 3184 | expr = select(t.c.myid).where(t.c.myid > 5).scalar_subquery() |
| 3185 | self.assert_compile( |
| 3186 | not_(expr), |
| 3187 | "NOT (SELECT mytable.myid FROM mytable " |
| 3188 | "WHERE mytable.myid > :myid_1)", |
| 3189 | params={"myid_1": 5}, |
| 3190 | ) |
| 3191 | |
| 3192 | def test_scalar_values(self): |
| 3193 | t = self.table1 |
nothing calls this directly
no test coverage detected