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

Method test_six

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

Source from the content-addressed store, hash-verified

1548 self.assert_compile(and_(true()._ifnone(None), x == 7), "x = :x_1")
1549
1550 def test_six(self):
1551 x = column("x")
1552 self.assert_compile(or_(true(), x == 7), "true")
1553 self.assert_compile(or_(x == 7, true()), "true")
1554 self.assert_compile(~or_(x == 7, true()), "false")
1555
1556 def test_six_pt_five(self):
1557 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