MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_compare

Method test_compare

test/sql/test_syntax_extensions.py:313–324  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

311 )
312
313 def test_compare(self):
314 t = Table(
315 "t1", MetaData(), Column("c1", Integer), Column("c2", Integer)
316 )
317
318 self._run_compare_fixture(
319 lambda: (
320 select(t).ext(ColumnExpressionExt(t.c.c1, t.c.c2)),
321 select(t).ext(ColumnExpressionExt(t.c.c1)),
322 select(t),
323 )
324 )

Callers

nothing calls this directly

Calls 7

TableClass · 0.90
MetaDataClass · 0.90
ColumnClass · 0.90
selectFunction · 0.90
ColumnExpressionExtClass · 0.85
_run_compare_fixtureMethod · 0.80
extMethod · 0.45

Tested by

no test coverage detected