MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_tuple_clauselist_in

Method test_tuple_clauselist_in

test/sql/test_compiler.py:4903–4910  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4901 eq_(compiled.positiontup, ["param_1", "param_1"])
4902
4903 def test_tuple_clauselist_in(self):
4904 self.assert_compile(
4905 tuple_(table1.c.myid, table1.c.name).in_(
4906 [tuple_(table2.c.otherid, table2.c.othername)]
4907 ),
4908 "(mytable.myid, mytable.name) IN "
4909 "((myothertable.otherid, myothertable.othername))",
4910 )
4911
4912 @testing.variation("scalar_subquery", [True, False])
4913 def test_select_in(self, scalar_subquery):

Callers

nothing calls this directly

Calls 3

tuple_Function · 0.90
assert_compileMethod · 0.80
in_Method · 0.45

Tested by

no test coverage detected