(self, t_fixture, any_all_operators)
| 5196 | ) |
| 5197 | |
| 5198 | def test_scalar_values(self, t_fixture, any_all_operators): |
| 5199 | t = t_fixture |
| 5200 | op, fn = any_all_operators |
| 5201 | |
| 5202 | self.assert_compile( |
| 5203 | 5 == fn(values(t.c.data).data([(1,), (42,)]).scalar_values()), |
| 5204 | f":param_1 = {op} (VALUES (:param_2), (:param_3))", |
| 5205 | checkparams={"param_1": 5, "param_2": 1, "param_3": 42}, |
| 5206 | ) |
| 5207 | |
| 5208 | @testing.combinations(any_, all_, argnames="fn") |
| 5209 | def test_values_illegal(self, t_fixture, fn): |
nothing calls this directly
no test coverage detected