Skip to content

Commit

Permalink
Test: Periodicity (Enable 3D)
Browse files Browse the repository at this point in the history
Fix ill-written `skipif` condition for pytest.
  • Loading branch information
ax3l committed Oct 20, 2023
1 parent 198cbb3 commit 4d53574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_periodicity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4d53574

Please sign in to comment.