MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_six

Method test_six

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

Source from the content-addressed store, hash-verified

1700 self.assert_compile(and_(true()._ifnone(None), x == 7), "x = :x_1")
1701
1702 def test_six(self):
1703 x = column("x")
1704 self.assert_compile(or_(true(), x == 7), "true")
1705 self.assert_compile(or_(x == 7, true()), "true")
1706 self.assert_compile(~or_(x == 7, true()), "false")
1707
1708 def test_six_pt_five(self):
1709 x = column("x")

Callers

nothing calls this directly

Calls 4

columnFunction · 0.90
or_Function · 0.90
trueFunction · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected