MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_val_and_true_coerced

Method test_val_and_true_coerced

test/sql/test_compiler.py:7861–7863  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

7859 self.assert_compile(and_(t.c.id == 1, False), "false")
7860
7861 def test_val_and_true_coerced(self):
7862 t = self._fixture()
7863 self.assert_compile(and_(t.c.id == 1, True), "foo.id = :id_1")
7864
7865 def test_val_is_null_coerced(self):
7866 t = self._fixture()

Callers

nothing calls this directly

Calls 3

_fixtureMethod · 0.95
and_Function · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected