MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_getindex_sqlexpr

Method test_getindex_sqlexpr

test/sql/test_operators.py:1224–1228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1222 )
1223
1224 def test_getindex_sqlexpr(self):
1225 col = Column("x", self.MyType())
1226 col2 = Column("y", Integer())
1227
1228 self.assert_compile(col[col2], "x -> y", checkparams={})
1229
1230 def test_getindex_sqlexpr_right_grouping(self):
1231 col = Column("x", self.MyType())

Callers

nothing calls this directly

Calls 3

ColumnClass · 0.90
IntegerClass · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected