(self)
| 214 | con.close() |
| 215 | |
| 216 | def test_rollback(self): |
| 217 | con = self._connect() |
| 218 | # If rollback is defined, it should either work or throw |
| 219 | # the documented exception |
| 220 | if hasattr(con, "rollback"): |
| 221 | try: |
| 222 | con.rollback() |
| 223 | except self.driver.NotSupportedError: |
| 224 | pass |
| 225 | |
| 226 | def test_cursor(self): |
| 227 | con = self._connect() |