From d5facf4cabc78665f044811c03d201857d75828c Mon Sep 17 00:00:00 2001 From: Connor Date: Tue, 12 Nov 2024 10:12:42 +0000 Subject: [PATCH] fixup --- tests/macro/test_macro_multigrid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)