MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_and_operator

Method test_and_operator

test/sql/test_tstrings_py314.py:118–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 )
117
118 def test_and_operator(self):
119 stmt = tstring(t"1 = 1") & tstring(t"2 = 2")
120 self.assert_compile(stmt, "1 = 1 AND 2 = 2")
121
122 def test_multiple_literals(self):
123 a, b, c, d = 1, 2, 3, 4

Callers

nothing calls this directly

Calls 2

tstringFunction · 0.90
assert_compileMethod · 0.80

Tested by

no test coverage detected