(self)
| 320 | ) |
| 321 | |
| 322 | def test_db_error_busted_dbapi(self): |
| 323 | try: |
| 324 | raise sa_exceptions.DBAPIError.instance( |
| 325 | "", [], ProgrammingError(), DatabaseError |
| 326 | ) |
| 327 | except sa_exceptions.DBAPIError as e: |
| 328 | self.assert_(True) |
| 329 | self.assert_("Error in str() of DB-API" in e.args[0]) |
| 330 | |
| 331 | def test_db_error_noncompliant_dbapi(self): |
| 332 | try: |
nothing calls this directly
no test coverage detected