MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_scalar

Method test_scalar

test/sql/test_operators.py:115–118  ·  view source on GitHub ↗
(self, operator, compare_to)

Source from the content-addressed store, hash-verified

113
114 @testing.combinations((operators.desc_op, desc), (operators.asc_op, asc))
115 def test_scalar(self, operator, compare_to):
116 left = column("left")
117 assert left.comparator.operate(operator).compare(compare_to(left))
118 self._loop_test(operator)
119
120 right_column = column("right")
121

Callers

nothing calls this directly

Calls 4

_loop_testMethod · 0.95
columnFunction · 0.90
compareMethod · 0.45
operateMethod · 0.45

Tested by

no test coverage detected