Key change here is the petsc4py error handler is now different and so we need a new approach for catching errors that are triggered inside a PETSc callback.
The fixture approach I use here is a bit iffy but the inability to have shared functions in pytest is a known limitation.
Description
Goes with https://github.com/firedrakeproject/petsc/pull/23
Key change here is the petsc4py error handler is now different and so we need a new approach for catching errors that are triggered inside a PETSc callback.
The fixture approach I use here is a bit iffy but the inability to have shared functions in pytest is a known limitation.