MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_six_pt_five

Method test_six_pt_five

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

Source from the content-addressed store, hash-verified

1706 self.assert_compile(~or_(x == 7, true()), "false")
1707
1708 def test_six_pt_five(self):
1709 x = column("x")
1710 self.assert_compile(
1711 select(x).where(or_(x == 7, true())), "SELECT x WHERE true"
1712 )
1713
1714 self.assert_compile(
1715 select(x).where(or_(x == 7, true())),
1716 "SELECT x WHERE 1 = 1",
1717 dialect=default.DefaultDialect(supports_native_boolean=False),
1718 )
1719
1720 def test_seven(self):
1721 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