MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_select_columns

Method test_select_columns

test/sql/test_query.py:861–863  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

859
860 @testing.requires.standalone_binds
861 def test_select_columns(self):
862 stmt = select(bindparam("data"), bindparam("x"))
863 self._assert_raises(stmt, {"data": "data"})
864
865 def test_text(self):
866 stmt = text("select * from foo where x=:x and data=:data1")

Callers

nothing calls this directly

Calls 3

_assert_raisesMethod · 0.95
selectFunction · 0.90
bindparamFunction · 0.90

Tested by

no test coverage detected