MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_val_is_null_coerced

Method test_val_is_null_coerced

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

Source from the content-addressed store, hash-verified

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()
7867 self.assert_compile(and_(t.c.id == None), "foo.id IS NULL") # noqa
7868
7869 def test_val_and_None(self):
7870 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