Skip to content

Commit

Permalink
[python] Rename 2D engine test
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiashienzsch committed Sep 18, 2024
1 parent f8337cc commit 1e925d6
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ def model(*, Lx=None, Ly=None, Nx=None, Ny=None, dx=None, X=None, Y=None, in_mas
return in_mask, inx, iny, out_ixy


def test_sim2d_modes(tmp_path):
if not os.environ.get('PFFDTD_ENGINE_2D'):
pytest.skip('Native 2D engine not available')

@pytest.mark.skipif(os.environ.get('PFFDTD_ENGINE_2D') is None, reason='Native 2D engine not available')
def test_sim2d_engines(tmp_path):
sim_setup_2d(
sim_dir=tmp_path,
room=(2, 2),
Expand Down

0 comments on commit 1e925d6

Please sign in to comment.