MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_val_and_null

Method test_val_and_null

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

Source from the content-addressed store, hash-verified

7881 self.assert_compile(and_(None), "NULL")
7882
7883 def test_val_and_null(self):
7884 t = self._fixture()
7885 self.assert_compile(
7886 and_(t.c.id == 1, null()), "foo.id = :id_1 AND NULL"
7887 )
7888
7889
7890class ResultMapTest(fixtures.TestBase):

Callers

nothing calls this directly

Calls 4

_fixtureMethod · 0.95
and_Function · 0.90
nullFunction · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected