must initialized has_exceptions to avoid false positives in unit tests

This commit is contained in:
Axel Kohlmeyer
2021-01-29 18:38:33 -05:00
parent 72b022c5fa
commit 95b445a25a

View File

@ -4,6 +4,7 @@ from lammps import lammps
has_mpi=False has_mpi=False
has_mpi4py=False has_mpi4py=False
has_exceptions=False
try: try:
from mpi4py import __version__ as mpi4py_version from mpi4py import __version__ as mpi4py_version
# tested to work with mpi4py versions 2 and 3 # tested to work with mpi4py versions 2 and 3