MCPcopy Index your code
hub / github.com/zzzeek/sqlalchemy / test_no_getitem

Method test_no_getitem

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

Source from the content-addressed store, hash-verified

233 self.assert_compile(True == column("q"), "q = true", dialect=d)
234
235 def test_no_getitem(self):
236 assert_raises_message(
237 NotImplementedError,
238 "Operator 'getitem' is not supported on this expression",
239 self.test_operate,
240 operators.getitem,
241 column("right"),
242 )
243 assert_raises_message(
244 NotImplementedError,
245 "Operator 'getitem' is not supported on this expression",
246 lambda: column("left")[3],
247 )
248
249 def test_in(self):
250 left = column("left")

Callers

nothing calls this directly

Calls 2

assert_raises_messageFunction · 0.90
columnFunction · 0.90

Tested by

no test coverage detected