From 575c1014d4183e4fecdfc9538f924d0d62f69faa Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Tue, 17 Sep 2024 22:13:07 -0600 Subject: [PATCH] bugfix in lammps-open.py unit test --- unittest/python/python-open.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unittest/python/python-open.py b/unittest/python/python-open.py index f555be25dd..a1d5617986 100644 --- a/unittest/python/python-open.py +++ b/unittest/python/python-open.py @@ -7,8 +7,8 @@ has_mpi4py=False try: from mpi4py import __version__ as mpi4py_version - # tested to work with mpi4py versions 2 and 3 - has_mpi4py = mpi4py_version.split('.')[0] in ['2','3'] + # tested to work with mpi4py versions 2, 3, and 4 + has_mpi4py = mpi4py_version.split('.')[0] in ['2','3','4'] except: pass