File: tests_no_numba.patch

package info (click to toggle)
dolfinx-mpc 0.10.0-1exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,268 kB
  • sloc: python: 7,901; cpp: 5,525; makefile: 69; sh: 4
file content (122 lines) | stat: -rw-r--r-- 6,004 bytes parent folder | download
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Index: dolfinx-mpc/python/tests/test_cube_contact.py
===================================================================
--- dolfinx-mpc.orig/python/tests/test_cube_contact.py	2025-11-13 14:43:20.153380971 +0100
+++ dolfinx-mpc/python/tests/test_cube_contact.py	2025-11-13 14:43:20.148082197 +0100
@@ -160,7 +160,7 @@
     return (mesh_data.mesh, mesh_data.facet_tags)
 
 
-@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):
     assemble_matrix, assemble_vector = get_assemblers
Index: dolfinx-mpc/python/tests/test_integration_domains.py
===================================================================
--- dolfinx-mpc.orig/python/tests/test_integration_domains.py	2025-11-13 14:43:20.153380971 +0100
+++ dolfinx-mpc/python/tests/test_integration_domains.py	2025-11-13 14:43:20.148802922 +0100
@@ -20,7 +20,7 @@
 import dolfinx_mpc
 
 
-@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
Index: dolfinx-mpc/python/tests/test_lifting.py
===================================================================
--- dolfinx-mpc.orig/python/tests/test_lifting.py	2025-11-13 14:43:20.153380971 +0100
+++ dolfinx-mpc/python/tests/test_lifting.py	2025-11-13 14:43:20.149360471 +0100
@@ -22,7 +22,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
Index: dolfinx-mpc/python/tests/test_matrix_assembly.py
===================================================================
--- dolfinx-mpc.orig/python/tests/test_matrix_assembly.py	2025-11-13 14:43:20.153380971 +0100
+++ dolfinx-mpc/python/tests/test_matrix_assembly.py	2025-11-13 14:43:20.149656302 +0100
@@ -20,7 +20,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])
@@ -58,7 +58,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])
Index: dolfinx-mpc/python/tests/test_mpc_pipeline.py
===================================================================
--- dolfinx-mpc.orig/python/tests/test_mpc_pipeline.py	2025-11-13 14:43:20.153380971 +0100
+++ dolfinx-mpc/python/tests/test_mpc_pipeline.py	2025-11-13 14:43:20.149954016 +0100
@@ -21,7 +21,7 @@
 import dolfinx_mpc.utils
 
 
-@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
Index: dolfinx-mpc/python/tests/test_surface_integral.py
===================================================================
--- dolfinx-mpc.orig/python/tests/test_surface_integral.py	2025-11-13 14:43:20.153380971 +0100
+++ dolfinx-mpc/python/tests/test_surface_integral.py	2025-11-13 14:43:20.150281809 +0100
@@ -22,7 +22,7 @@
 import dolfinx_mpc.utils
 
 
-@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
 
@@ -144,7 +144,7 @@
     list_timings(comm)
 
 
-@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
Index: dolfinx-mpc/python/tests/test_vector_assembly.py
===================================================================
--- dolfinx-mpc.orig/python/tests/test_vector_assembly.py	2025-11-13 14:43:20.153380971 +0100
+++ dolfinx-mpc/python/tests/test_vector_assembly.py	2025-11-13 14:43:20.150590122 +0100
@@ -19,7 +19,7 @@
 import dolfinx_mpc.utils
 
 
-@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])
Index: dolfinx-mpc/python/tests/test_vector_poisson.py
===================================================================
--- dolfinx-mpc.orig/python/tests/test_vector_poisson.py	2025-11-13 14:43:20.153380971 +0100
+++ dolfinx-mpc/python/tests/test_vector_poisson.py	2025-11-13 14:43:20.150890471 +0100
@@ -22,7 +22,7 @@
 import dolfinx_mpc.utils
 
 
-@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])