(self, con)
| 21 | _global_id_prefix = "dbapi20_tpc:" |
| 22 | |
| 23 | def make_xid(self, con): |
| 24 | id = TwoPhaseCommitTests._last_id |
| 25 | TwoPhaseCommitTests._last_id += 1 |
| 26 | return con.xid(42, f"{self._global_id_prefix}{id}", "qualifier") |
| 27 | |
| 28 | def test_xid(self): |
| 29 | con = self.connect() |