Skip to content

Commit ddf2521

Browse files
committed
TL: attempt to solve the fenics tests
1 parent cf130ef commit ddf2521

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pySDC/helpers/fieldsIO.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
T = TypeVar("T")
4747

4848
try:
49+
try:
50+
import dolfin as df # noqa: F841 (for some reason, dolfin always needs to be imported before mpi4py)
51+
except ImportError:
52+
pass
4953
from mpi4py import MPI
5054
except ImportError:
5155

0 commit comments

Comments
 (0)