MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_is_distinct_from

Method test_is_distinct_from

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

Source from the content-addressed store, hash-verified

2211 table1 = table("mytable", column("myid", Integer))
2212
2213 def test_is_distinct_from(self):
2214 self.assert_compile(
2215 self.table1.c.myid.is_distinct_from(1),
2216 "mytable.myid IS DISTINCT FROM :myid_1",
2217 )
2218
2219 def test_is_distinct_from_sqlite(self):
2220 self.assert_compile(

Callers

nothing calls this directly

Calls 2

assert_compileMethod · 0.80
is_distinct_fromMethod · 0.45

Tested by

no test coverage detected