(self, aconn, tpc)
| 281 | assert xid.bqual is None |
| 282 | |
| 283 | async def test_cancel_fails_prepared(self, aconn, tpc): |
| 284 | await aconn.tpc_begin("cancel") |
| 285 | await aconn.tpc_prepare() |
| 286 | with pytest.raises(psycopg.ProgrammingError): |
| 287 | aconn.cancel() |
| 288 | with pytest.raises(psycopg.ProgrammingError): |
| 289 | await aconn.cancel_safe() |
| 290 | |
| 291 | async def test_tpc_recover_non_dbapi_connection(self, aconn_cls, aconn, dsn, tpc): |
| 292 | aconn.row_factory = psycopg.rows.dict_row |
nothing calls this directly
no test coverage detected