(self)
| 1372 | ) |
| 1373 | |
| 1374 | def test_getindex_sqlexpr(self): |
| 1375 | col = Column("x", self.MyType()) |
| 1376 | col2 = Column("y", Integer()) |
| 1377 | |
| 1378 | self.assert_compile(col[col2], "x[y]", checkparams={}) |
| 1379 | |
| 1380 | self.assert_compile( |
| 1381 | col[col2 + 8], "x[(y + :y_1)]", checkparams={"y_1": 8} |
| 1382 | ) |
| 1383 | |
| 1384 | def test_getslice_literal(self): |
| 1385 | col = Column("x", self.MyType()) |
nothing calls this directly
no test coverage detected