(self)
| 114 | ) |
| 115 | |
| 116 | def test_boolean_constants(self): |
| 117 | t1 = table("t1", column("q"), column("p")) |
| 118 | |
| 119 | def go(): |
| 120 | xy = True |
| 121 | stmt = select(t1).where(lambda: t1.c.q == xy) |
| 122 | return stmt |
| 123 | |
| 124 | self.assert_compile( |
| 125 | go(), "SELECT t1.q, t1.p FROM t1 WHERE t1.q = :xy_1" |
| 126 | ) |
| 127 | |
| 128 | def test_execute_boolean(self, boolean_table_fixture, connection): |
| 129 | boolean_data = boolean_table_fixture |
nothing calls this directly
no test coverage detected