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

Method test_nine

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

Source from the content-addressed store, hash-verified

1578 )
1579
1580 def test_nine(self):
1581 x = column("x")
1582 self.assert_compile(and_(x == 7, x == 9, false(), x == 5), "false")
1583 self.assert_compile(~and_(x == 7, x == 9, false(), x == 5), "true")
1584
1585 def test_ten(self):
1586 self.assert_compile(and_(None, None), "NULL AND NULL")

Callers

nothing calls this directly

Calls 4

columnFunction · 0.90
and_Function · 0.90
falseFunction · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected