MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_twelve

Method test_twelve

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

Source from the content-addressed store, hash-verified

1599 )
1600
1601 def test_twelve(self):
1602 c = column("x", Boolean)
1603 # I don't have a solution for this one yet,
1604 # other than adding some heavy-handed conditionals
1605 # into compiler
1606 self.assert_compile(
1607 c.is_(true()), "x IS 1", dialect=self._dialect(False)
1608 )
1609
1610
1611class ConjunctionTest(fixtures.TestBase, testing.AssertsCompiledSQL):

Callers

nothing calls this directly

Calls 5

_dialectMethod · 0.95
columnFunction · 0.90
trueFunction · 0.90
assert_compileMethod · 0.80
is_Method · 0.45

Tested by

no test coverage detected