Skip to content

Commit

Permalink
Expression: Adjust tests to new intrinsic function call handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mlange05 committed Oct 26, 2024
1 parent f5e50e2 commit 3e40c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loki/ir/tests/test_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def test_find_variables_associates(frontend):
routine = Subroutine.from_source(fcode, frontend=frontend)

variables = FindVariables(unique=False).visit(routine.body)
assert len(variables) == 29
assert len(variables) == 27 if frontend == OMNI else 28
assert len([v for v in variables if v.name == 'v']) == 1
assert len([v for v in variables if v.name == 'm']) == 2

Expand Down

0 comments on commit 3e40c0c

Please sign in to comment.