diff --git a/tests/macro/test_macro_multigrid.py b/tests/macro/test_macro_multigrid.py index 4054f89ee0..c45b085555 100644 --- a/tests/macro/test_macro_multigrid.py +++ b/tests/macro/test_macro_multigrid.py @@ -112,12 +112,12 @@ def functional(victim, dual): assert numpy.allclose(fine_functional, coarse_functional) -def test_macro_grid_transfer(hierarchy, space, degrees, variant, transfer_type, petsc_raises): +def test_macro_grid_transfer(hierarchy, space, degrees, variant, transfer_type): if not hierarchy.nested and transfer_type == "injection": pytest.skip("Not implemented") if transfer_type == "injection": if space in {"DG", "DQ"} and complex_mode: - with petsc_raises(NotImplementedError): + with pytest.raises(NotImplementedError): run_injection(hierarchy, space, degrees, variant) else: run_injection(hierarchy, space, degrees, variant)