Skip to content

Commit

Permalink
Update test_futures_mpi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Dec 3, 2023
1 parent 9f26e71 commit 88c1318
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_em_framework/test_futures_mpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ def test_mpi_evaluator(mocker):
pool_mock.shutdown.assert_called_once()


@pytest.mark.skipif(
(not MPI_AVAILABLE) or (not CAN_TEST),
reason="Test requires mpi4py installed and a Linux or Mac OS environment",
)
def test_logwatcher(mocker):
mocked_MPI = mocker.patch("mpi4py.MPI", autospec=True)
mocked_MPI.COMM_WORLD = Mock()
Expand Down

0 comments on commit 88c1318

Please sign in to comment.