MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_twelve

Method test_twelve

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

Source from the content-addressed store, hash-verified

1447 )
1448
1449 def test_twelve(self):
1450 c = column("x", Boolean)
1451 # I don't have a solution for this one yet,
1452 # other than adding some heavy-handed conditionals
1453 # into compiler
1454 self.assert_compile(
1455 c.is_(true()), "x IS 1", dialect=self._dialect(False)
1456 )
1457
1458
1459class 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