(self, case, expected, connection)
| 1998 | argnames="case, expected", |
| 1999 | ) |
| 2000 | def test_bitwise(self, case, expected, connection): |
| 2001 | tbl = self.tables.bitwise |
| 2002 | |
| 2003 | a = tbl.c.a |
| 2004 | |
| 2005 | op = testing.resolve_lambda(case, a=a) |
| 2006 | |
| 2007 | stmt = select(tbl).where(op > 0).order_by(a) |
| 2008 | |
| 2009 | res = connection.execute(stmt).mappings().all() |
| 2010 | eq_(res, [self.inserted_data[i] for i in expected]) |