From c44580e3d9ac3ac39bc719b1ee56b882775df7bf Mon Sep 17 00:00:00 2001 From: Giovanni Bussi Date: Thu, 5 May 2022 22:58:42 +0200 Subject: [PATCH] Show if mpi was tested or not --- python/test/test_mpi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/test/test_mpi.py b/python/test/test_mpi.py index 456a30ee75..401050fd35 100644 --- a/python/test/test_mpi.py +++ b/python/test/test_mpi.py @@ -9,9 +9,9 @@ HAS_MPI4PY=False class Test(unittest.TestCase): - def test(self): + if HAS_MPI4PY: + def test(self): - if HAS_MPI4PY: comm = MPI.COMM_WORLD p = plumed.Plumed() p.cmd("setNatoms",2)