(self)
| 358 | ) |
| 359 | |
| 360 | def test_literal_binds(self): |
| 361 | t = text("select * from foo where lala=:bar and hoho=:whee") |
| 362 | t = t.bindparams(bindparam("bar", 4), whee="whee") |
| 363 | |
| 364 | self.assert_compile( |
| 365 | t, |
| 366 | "select * from foo where lala=4 and hoho='whee'", |
| 367 | checkparams={}, |
| 368 | literal_binds=True, |
| 369 | ) |
| 370 | |
| 371 | def _assert_type_map(self, t, compare): |
| 372 | map_ = {b.key: b.type for b in t._bindparams.values()} |
nothing calls this directly
no test coverage detected