(self)
| 74 | ) |
| 75 | |
| 76 | def test_where_empty(self): |
| 77 | table1 = self.tables.mytable |
| 78 | |
| 79 | with expect_deprecated( |
| 80 | r"Invoking and_\(\) without arguments is deprecated" |
| 81 | ): |
| 82 | self.assert_compile( |
| 83 | table1.delete().where(and_()), "DELETE FROM mytable" |
| 84 | ) |
| 85 | with expect_deprecated( |
| 86 | r"Invoking or_\(\) without arguments is deprecated" |
| 87 | ): |
| 88 | self.assert_compile( |
| 89 | table1.delete().where(or_()), "DELETE FROM mytable" |
| 90 | ) |
| 91 | |
| 92 | def test_prefix_with(self): |
| 93 | table1 = self.tables.mytable |
nothing calls this directly
no test coverage detected