Skip to content

Commit

Permalink
Show if mpi was tested or not
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBussi committed May 5, 2022
1 parent 19cdea3 commit c44580e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/test/test_mpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c44580e

Please sign in to comment.