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

Method test_six_pt_five

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

Source from the content-addressed store, hash-verified

1554 self.assert_compile(~or_(x == 7, true()), "false")
1555
1556 def test_six_pt_five(self):
1557 x = column("x")
1558 self.assert_compile(
1559 select(x).where(or_(x == 7, true())), "SELECT x WHERE true"
1560 )
1561
1562 self.assert_compile(
1563 select(x).where(or_(x == 7, true())),
1564 "SELECT x WHERE 1 = 1",
1565 dialect=default.DefaultDialect(supports_native_boolean=False),
1566 )
1567
1568 def test_seven(self):
1569 x = column("x")

Callers

nothing calls this directly

Calls 6

columnFunction · 0.90
or_Function · 0.90
trueFunction · 0.90
selectFunction · 0.85
assert_compileMethod · 0.80
whereMethod · 0.45

Tested by

no test coverage detected