MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_select_tuple_outer

Method test_select_tuple_outer

test/sql/test_select.py:428–436  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

426 )
427
428 def test_select_tuple_outer(self):
429 stmt = select(tuple_(table1.c.myid, table1.c.name))
430
431 assert_raises_message(
432 exc.CompileError,
433 r"Most backends don't support SELECTing from a tuple\(\) object. "
434 "If this is an ORM query, consider using the Bundle object.",
435 stmt.compile,
436 )
437
438 def test_select_tuple_subquery(self):
439 subq = select(

Callers

nothing calls this directly

Calls 3

selectFunction · 0.90
tuple_Function · 0.90
assert_raises_messageFunction · 0.90

Tested by

no test coverage detected