From 4d53574cf74d4306557f04dbac0be7448d731b3d Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Fri, 20 Oct 2023 00:12:24 -0700 Subject: [PATCH] Test: Periodicity (Enable 3D) Fix ill-written `skipif` condition for pytest. --- tests/test_periodicity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_periodicity.py b/tests/test_periodicity.py index c6fcd770..209d5246 100644 --- a/tests/test_periodicity.py +++ b/tests/test_periodicity.py @@ -18,7 +18,7 @@ def test_periodicity(): assert obj == non_periodic -@pytest.mark.skipif(amr.Config.spacedim == 3, reason="Requires AMREX_SPACEDIM = 3") +@pytest.mark.skipif(amr.Config.spacedim != 3, reason="Requires AMREX_SPACEDIM = 3") def test_periodicity_3d(): iv = amr.IntVect(1, 0, 1) obj = amr.Periodicity(iv)