File: tests_no_numba.patch

package info (click to toggle)
dolfinx-mpc 0.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,188 kB
  • sloc: python: 7,263; cpp: 5,462; makefile: 69; sh: 4
file content (106 lines) | stat: -rw-r--r-- 4,427 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
--- a/python/tests/test_cube_contact.py
+++ b/python/tests/test_cube_contact.py
@@ -162,7 +162,7 @@
     return (mesh, ft)
 
 
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 @pytest.mark.parametrize("nonslip", [True, False])
 def test_cube_contact(generate_hex_boxes, nonslip, get_assemblers):  # noqa: F811
     assemble_matrix, assemble_vector = get_assemblers
--- a/python/tests/test_integration_domains.py
+++ b/python/tests/test_integration_domains.py
@@ -21,7 +21,7 @@
 from dolfinx_mpc.utils import get_assemblers  # noqa: F401
 
 
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 def test_cell_domains(get_assemblers):  # noqa: F811
     """
     Periodic MPC conditions over integral with different cell subdomains
--- a/python/tests/test_lifting.py
+++ b/python/tests/test_lifting.py
@@ -23,7 +23,7 @@
 
 
 @pytest.mark.skipif(MPI.COMM_WORLD.size > 1, reason="This test should only be run in serial.")
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 def test_lifting(get_assemblers):  # noqa: F811
     """
     Test MPC lifting operation on a single cell
--- a/python/tests/test_matrix_assembly.py
+++ b/python/tests/test_matrix_assembly.py
@@ -21,7 +21,7 @@
 root = 0
 
 
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 @pytest.mark.parametrize("master_point", [[1, 1], [0, 1]])
 @pytest.mark.parametrize("degree", range(1, 4))
 @pytest.mark.parametrize("celltype", [CellType.quadrilateral, CellType.triangle])
@@ -59,7 +59,7 @@
 
 
 # Check if ordering of connected dofs matter
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 @pytest.mark.parametrize("master_point", [[1, 1], [0, 1]])
 @pytest.mark.parametrize("degree", range(1, 4))
 @pytest.mark.parametrize("celltype", [CellType.triangle, CellType.quadrilateral])
--- a/python/tests/test_mpc_pipeline.py
+++ b/python/tests/test_mpc_pipeline.py
@@ -22,7 +22,7 @@
 from dolfinx_mpc.utils import get_assemblers  # noqa: F401
 
 
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 @pytest.mark.parametrize("master_point", [[1, 1], [0, 1]])
 def test_pipeline(master_point, get_assemblers):  # noqa: F811
     assemble_matrix, assemble_vector = get_assemblers
--- a/python/tests/test_surface_integral.py
+++ b/python/tests/test_surface_integral.py
@@ -23,7 +23,7 @@
 from dolfinx_mpc.utils import get_assemblers  # noqa: F401
 
 
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 def test_surface_integrals(get_assemblers):  # noqa: F811
     assemble_matrix, assemble_vector = get_assemblers
 
@@ -145,7 +145,7 @@
     list_timings(comm, [TimingType.wall])
 
 
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 def test_surface_integral_dependency(get_assemblers):  # noqa: F811
     assemble_matrix, assemble_vector = get_assemblers
     N = 10
--- a/python/tests/test_vector_assembly.py
+++ b/python/tests/test_vector_assembly.py
@@ -20,7 +20,7 @@
 from dolfinx_mpc.utils import get_assemblers  # noqa: F401
 
 
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 @pytest.mark.parametrize("master_point", [[1, 1], [0, 1]])
 @pytest.mark.parametrize("degree", range(1, 4))
 @pytest.mark.parametrize("celltype", [CellType.quadrilateral, CellType.triangle])
--- a/python/tests/test_vector_poisson.py
+++ b/python/tests/test_vector_poisson.py
@@ -23,7 +23,7 @@
 from dolfinx_mpc.utils import get_assemblers  # noqa: F401
 
 
-@pytest.mark.parametrize("get_assemblers", ["C++", "numba"], indirect=True)
+@pytest.mark.parametrize("get_assemblers", ["C++"], indirect=True)
 @pytest.mark.parametrize("Nx", [4])
 @pytest.mark.parametrize("Ny", [2, 3])
 @pytest.mark.parametrize("slave_space", [0, 1])