Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
LonelyCat124 committed Feb 27, 2025
1 parent d3e42e7 commit 719a5f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/psyclone/psyir/transformations/parallel_loop_trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def _find_next_dependency(self, node: Loop) -> Union[Node, None]:
# FIXME What if we're before the loop but the previous
# one wasn't.
pass

assert False

# FIXME if this loop is contained inside a loop the closest foward
Expand Down
1 change: 1 addition & 0 deletions src/psyclone/tests/psyir/nodes/node_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,7 @@ def test_following(fortran_reader):
assert routines[1] in loops[1].following(same_routine_scope=False,
include_children=False)


def test_is_descendent_of(fortran_reader):
'''Test the is_descendent_of function of the Node class'''
code = """
Expand Down

0 comments on commit 719a5f3

Please sign in to comment.