Skip to content

Commit efc0fad

Browse files
committed
TL: black, I hate you
1 parent 829484e commit efc0fad

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

pySDC/tests/test_projects/test_AC/test_simple_forcing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def test_main_parallel():
1717
# try to import MPI here, will fail if things go wrong (and not in the subprocess part)
1818
try:
1919
import mpi4py
20+
2021
del mpi4py
2122
except ImportError:
2223
raise ImportError('petsc tests need mpi4py')

pySDC/tests/test_projects/test_parallelSDC/test_AllenCahn_parallel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ def test_main():
88
# try to import MPI here, will fail if things go wrong (and not in the subprocess part)
99
try:
1010
import mpi4py
11+
1112
del mpi4py
1213
except ImportError:
1314
raise ImportError('petsc tests need mpi4py')

pySDC/tests/test_tutorials/test_step_7.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def test_C_1x1():
2222
# try to import MPI here, will fail if things go wrong (and not in the subprocess part)
2323
try:
2424
import mpi4py
25+
2526
del mpi4py
2627
except ImportError:
2728
raise ImportError('petsc tests need mpi4py')
@@ -91,6 +92,7 @@ def test_C_2x2():
9192
# try to import MPI here, will fail if things go wrong (and not in the subprocess part)
9293
try:
9394
import mpi4py
95+
9496
del mpi4py
9597
except ImportError:
9698
raise ImportError('petsc tests need mpi4py')

pySDC/tutorial/step_6/C_MPI_parallelization.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def main(cwd):
1212
# try to import MPI here, will fail if things go wrong (and not in the subprocess part)
1313
try:
1414
import mpi4py
15+
1516
del mpi4py
1617
except ImportError:
1718
raise ImportError('petsc tests need mpi4py')

0 commit comments

Comments
 (0)