| 5739 | |
| 5740 | @testing.fixture |
| 5741 | def render_postcompile_fixture(self): |
| 5742 | return ( |
| 5743 | select(func.count(1)) |
| 5744 | .where(column("q") == "x") |
| 5745 | .where(column("z").in_([1, 2, 3])) |
| 5746 | .where(column("z_tuple").in_([(1, "a"), (2, "b"), (3, "c")])) |
| 5747 | .where( |
| 5748 | column("y").op("foobar")( |
| 5749 | bindparam( |
| 5750 | "key", value=[("1", "2"), ("3", "4")], expanding=True |
| 5751 | ) |
| 5752 | ) |
| 5753 | ) |
| 5754 | ) |
| 5755 | |
| 5756 | def test_render_postcompile_default_stmt(self, render_postcompile_fixture): |
| 5757 | stmt = render_postcompile_fixture |