Open Helveg opened 3 years ago
The missing documentation is accidental, that should be fixed.
The MPI_MARKERS
constant is correct—it's mapping the intent of the marker when being run under MPI to the appropriate pytest mark (as the mpi
marker need do nothing when run under MPI, rather the inverse is true).
The
MPIMarkerEnum
class lists 4 markers:mpi
,mpi_skip
,mpi_xfail
andmpi_break
; theMPI_MARKERS
constant right below lists only 3 of them (missesmpi
) and the marker docs don't mentionmpi_break
.https://github.com/aragilar/pytest-mpi/blob/9ad369af744a47cedf5025245f051e793703c748/src/pytest_mpi/__init__.py#L19-L39