(self)
| 92 | ) |
| 93 | |
| 94 | def test_as_scalar(self): |
| 95 | with testing.expect_deprecated( |
| 96 | r"The SelectBase.as_scalar\(\) method is deprecated and " |
| 97 | "will be removed in a future release." |
| 98 | ): |
| 99 | stmt = select(self.table1.c.myid).as_scalar() |
| 100 | |
| 101 | is_true(stmt.compare(select(self.table1.c.myid).scalar_subquery())) |
| 102 | |
| 103 | def test_as_scalar_from_subquery(self): |
| 104 | with testing.expect_deprecated( |
nothing calls this directly
no test coverage detected