MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_correlate_except_none

Method test_correlate_except_none

test/sql/test_compiler.py:7595–7601  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

7593
7594 @testing.combinations(False, None)
7595 def test_correlate_except_none(self, value):
7596 t1, t2, s1 = self._fixture()
7597 self._assert_where_all_correlated(
7598 select(t1, t2).where(
7599 t2.c.a == s1.correlate_except(value).scalar_subquery()
7600 )
7601 )
7602
7603 def test_correlate_except_empty(self):
7604 t1, t2, s1 = self._fixture()

Callers

nothing calls this directly

Calls 6

_fixtureMethod · 0.95
selectFunction · 0.90
whereMethod · 0.45
scalar_subqueryMethod · 0.45
correlate_exceptMethod · 0.45

Tested by

no test coverage detected