(self)
| 46 | con.close() |
| 47 | |
| 48 | def test_tpc_begin(self): |
| 49 | con = self.connect() |
| 50 | try: |
| 51 | xid = self.make_xid(con) |
| 52 | try: |
| 53 | con.tpc_begin(xid) |
| 54 | except self.driver.NotSupportedError: |
| 55 | self.fail("Driver does not support tpc_begin()") |
| 56 | finally: |
| 57 | con.close() |
| 58 | |
| 59 | def test_tpc_commit_without_prepare(self): |
| 60 | con = self.connect() |