Commit 3f31ecd Jaya Mohan
committed
1 parent 6809d6d commit 3f31ecd Copy full SHA for 3f31ecd
File tree 7 files changed +22
-15
lines changed
7 files changed +22
-15
lines changed Original file line number Diff line number Diff line change 1
1
# test initializing exago only once
2
- import exago
3
- from check_preconditions import check_preconditions
4
2
import os
5
3
import pytest
6
4
import mpi4py .rc
7
5
mpi4py .rc .threads = False
8
6
from mpi4py import MPI # noqa
7
+ from check_preconditions import check_preconditions
9
8
check_preconditions ()
10
9
import exago # noqa
11
10
Original file line number Diff line number Diff line change 1
1
import os
2
2
import pytest
3
- from check_preconditions import check_preconditions
4
3
import mpi4py .rc
5
4
mpi4py .rc .threads = False
6
5
from mpi4py import MPI # noqa
7
- import exago # noqa
6
+ from check_preconditions import check_preconditions
7
+ check_preconditions ()
8
+ import exago # noqa
9
+
8
10
9
11
check_preconditions ()
10
12
Original file line number Diff line number Diff line change 1
1
import os
2
2
import pytest
3
- from check_preconditions import check_preconditions
4
- import mpi4py .rc
5
- mpi4py .rc .threads = False
6
3
from mpi4py import MPI # noqa
7
- import exago # noqa
4
+ mpi4py .rc .threads = False
5
+ from check_preconditions import check_preconditions
6
+ check_preconditions ()
7
+ import exago # noqa
8
8
9
9
check_preconditions ()
10
10
Original file line number Diff line number Diff line change 2
2
import os
3
3
import shutil
4
4
import pytest
5
- from check_preconditions import check_preconditions
6
5
import mpi4py .rc
7
6
mpi4py .rc .threads = False
8
7
from mpi4py import MPI # noqa
9
- import exago # noqa
8
+ from check_preconditions import check_preconditions
9
+ check_preconditions ()
10
+ import exago # noqa
10
11
11
12
check_preconditions ()
12
13
Original file line number Diff line number Diff line change 2
2
import os
3
3
import shutil
4
4
import pytest
5
- from check_preconditions import check_preconditions
6
5
import mpi4py .rc
7
6
mpi4py .rc .threads = False
8
7
from mpi4py import MPI # noqa
9
- import exago # noqa
8
+ from check_preconditions import check_preconditions
9
+ check_preconditions ()
10
+ import exago # noqa
11
+
10
12
11
13
check_preconditions ()
12
14
Original file line number Diff line number Diff line change 3
3
import os
4
4
import shutil
5
5
import pytest
6
- from check_preconditions import check_preconditions
7
- import exago
8
6
import mpi4py .rc
9
7
mpi4py .rc .threads = False
8
+ from check_preconditions import check_preconditions
9
+ check_preconditions ()
10
+ import exago
10
11
11
12
check_preconditions ()
12
13
Original file line number Diff line number Diff line change 1
1
# test only run once things here
2
2
import pytest
3
- import exago
4
3
from check_preconditions import check_preconditions
4
+ check_preconditions ()
5
+ import exago
6
+
5
7
6
8
check_preconditions ()
7
9
You can’t perform that action at this time.
0 commit comments