Skip to content

Commit

Permalink
cgen: multiconditional RangeIndex as case - pytest.raise(NotImplement…
Browse files Browse the repository at this point in the history
…edError)
  • Loading branch information
MichaelSt98 committed Apr 8, 2024
1 parent f7a1748 commit 9d3b2f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_transpile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,6 @@ def test_transpile_multiconditional(here, builder, frontend):
f2c.c_path.unlink()

@pytest.mark.parametrize('frontend', available_frontends())
@pytest.mark.xfail(raises=NotImplementedError)
def test_transpile_multiconditional_range(here, frontend):
"""
A simple test to verify multiconditionals/select case statements.
Expand Down Expand Up @@ -1112,4 +1111,5 @@ def test_transpile_multiconditional_range(here, frontend):
# TODO: RangeIndex as case is not yet implemented!
# 'NotImplementedError' is raised
f2c = FortranCTransformation()
f2c.apply(source=routine, path=here)
with pytest.raises(NotImplementedError):
f2c.apply(source=routine, path=here)

0 comments on commit 9d3b2f5

Please sign in to comment.