MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_nine

Method test_nine

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

Source from the content-addressed store, hash-verified

1730 )
1731
1732 def test_nine(self):
1733 x = column("x")
1734 self.assert_compile(and_(x == 7, x == 9, false(), x == 5), "false")
1735 self.assert_compile(~and_(x == 7, x == 9, false(), x == 5), "true")
1736
1737 def test_ten(self):
1738 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