(conn)
| 55 | |
| 56 | @pytest.mark.libpq("< 14") |
| 57 | def test_pipeline_not_supported(conn): |
| 58 | assert not psycopg.Pipeline.is_supported() |
| 59 | assert not psycopg.AsyncPipeline.is_supported() |
| 60 | |
| 61 | with pytest.raises(psycopg.NotSupportedError) as exc: |
| 62 | with conn.pipeline(): |
| 63 | pass |
| 64 | |
| 65 | assert "requires libpq version 14.0 or newer" in str(exc.value) |
nothing calls this directly
no test coverage detected