| 5534 | |
| 5535 | @testing.fixture |
| 5536 | def render_postcompile_fixture(self): |
| 5537 | return ( |
| 5538 | select(func.count(1)) |
| 5539 | .where(column("q") == "x") |
| 5540 | .where(column("z").in_([1, 2, 3])) |
| 5541 | .where(column("z_tuple").in_([(1, "a"), (2, "b"), (3, "c")])) |
| 5542 | .where( |
| 5543 | column("y").op("foobar")( |
| 5544 | bindparam( |
| 5545 | "key", value=[("1", "2"), ("3", "4")], expanding=True |
| 5546 | ) |
| 5547 | ) |
| 5548 | ) |
| 5549 | ) |
| 5550 | |
| 5551 | def test_render_postcompile_default_stmt(self, render_postcompile_fixture): |
| 5552 | stmt = render_postcompile_fixture |