Skip to content

Commit

Permalink
fix one test assertion for OMNI frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
skarppinen committed Dec 5, 2023
1 parent 996e9fe commit fa1dd79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_extract_contained_procedures.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ def test_extract_contained_procedures_basic_array(frontend):
inner = routines[0]
outer = src.routines[0]
assert 'x' in inner.arguments
assert 'arr(3)' in inner.arguments
if frontend == OMNI:
assert 'arr(1:3)' in inner.arguments
else:
assert 'arr(3)' in inner.arguments

call = FindNodes(CallStatement).visit(outer.body)[0]
kwargdict = dict(call.kwarguments)
Expand Down

0 comments on commit fa1dd79

Please sign in to comment.