(self, case, expected, connection)
| 2100 | argnames="case, expected", |
| 2101 | ) |
| 2102 | def test_bitwise(self, case, expected, connection): |
| 2103 | tbl = self.tables.bitwise |
| 2104 | |
| 2105 | a = tbl.c.a |
| 2106 | |
| 2107 | op = testing.resolve_lambda(case, a=a) |
| 2108 | |
| 2109 | stmt = select(tbl).where(op > 0).order_by(a) |
| 2110 | |
| 2111 | res = connection.execute(stmt).mappings().all() |
| 2112 | eq_(res, [self.inserted_data[i] for i in expected]) |