MCPcopy Create free account
hub / github.com/zzzeek/sqlalchemy / test_annotated_binary_identity_eq

Method test_annotated_binary_identity_eq

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

Source from the content-addressed store, hash-verified

3028 self._assert_true(expr == expr)
3029
3030 def test_annotated_binary_identity_eq(self):
3031 c1 = column("c1")
3032 expr1 = c1 > 5
3033 expr2 = expr1._annotate({"foo": "bar"})
3034 self._assert_true(expr1 == expr2)
3035
3036 def test_labeled_binary_compare_gt(self):
3037 c1 = column("c1")

Callers

nothing calls this directly

Calls 3

_assert_trueMethod · 0.95
columnFunction · 0.90
_annotateMethod · 0.45

Tested by

no test coverage detected