(self)
| 189 | ) |
| 190 | |
| 191 | def test_tostring_large_list(self): |
| 192 | try: |
| 193 | raise sa_exceptions.DBAPIError.instance( |
| 194 | "this is a message", |
| 195 | [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], |
| 196 | OperationalError(), |
| 197 | DatabaseError, |
| 198 | ) |
| 199 | except sa_exceptions.DBAPIError as ex: |
| 200 | assert str(ex).startswith( |
| 201 | "(test.base.test_except.OperationalError) \n" |
| 202 | "[SQL: this is a message]\n[parameters: " |
| 203 | "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]]" |
| 204 | ) |
| 205 | |
| 206 | def test_tostring_large_executemany(self): |
| 207 | try: |
nothing calls this directly
no test coverage detected