(conn)
| 491 | |
| 492 | |
| 493 | def test_autocommit_unknown(conn): |
| 494 | conn.close() |
| 495 | assert conn.pgconn.transaction_status == pq.TransactionStatus.UNKNOWN |
| 496 | with pytest.raises(psycopg.OperationalError): |
| 497 | conn.set_autocommit(True) |
| 498 | assert not conn.autocommit |
| 499 | |
| 500 | |
| 501 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected