Skip to content

Commit d9e3a2c

Browse files
committed
Apply pytest fix
1 parent 9731223 commit d9e3a2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/firedrake/slate/test_assemble_tensors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ def test_diagonal(mass, matrix_mixed_nofacet):
320320
assert np.allclose(ref3, np.diag(res3), rtol=1e-14)
321321

322322

323-
@pytest.mark.parametrize("function_space", ["dg0"], indirect=True)
324-
def test_reciprocal(function_space):
323+
def test_reciprocal(mesh):
324+
function_space = FunctionSpace(mesh, "DG", 0)
325325
# test reciprocal of vector built from diagonal
326326
# note: reciprocal does not commute with addition so one can only test DG
327327
u = TrialFunction(function_space)

0 commit comments

Comments
 (0)