Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
SCHREIBER Martin committed Jan 14, 2025
1 parent f77715a commit 8651a19
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions src/psyclone/tests/psyir/nodes/call_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
DataSymbol,
NoType,
RoutineSymbol,
REAL_TYPE,
SymbolError
REAL_TYPE
)

from psyclone.psyir.tools.call_routine_matcher import (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
# -----------------------------------------------------------------------------


from psyclone.psyir.symbols.datatypes import ArrayType, UnresolvedType
import os
import pytest
from psyclone.configuration import Config
Expand Down
4 changes: 0 additions & 4 deletions src/psyclone/tests/psyir/transformations/inline_trans_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def test_apply_argument_clash(fortran_reader, fortran_writer, tmpdir):
assert Compile(tmpdir).string_compiles(output)



def test_apply_single_return(fortran_reader, fortran_writer, tmpdir):
'''Check that a call to a routine containing only a return statement
is removed. '''
Expand Down Expand Up @@ -311,7 +310,6 @@ def test_apply_array_access(fortran_reader, fortran_writer, tmpdir):
assert Compile(tmpdir).string_compiles(output)



def test_apply_gocean_kern(fortran_reader, fortran_writer, monkeypatch):
'''
Test the apply method with a typical GOcean kernel.
Expand Down Expand Up @@ -2424,7 +2422,6 @@ def test_apply_unsupported_pointer_error(fortran_reader):
" 'REAL, INTENT(INOUT), POINTER :: x'." in str(einfo.value))



def test_apply_optional_and_named_arg_2(fortran_reader):
'''Test that the validate method inlines a routine
that has an optional argument.'''
Expand Down Expand Up @@ -2536,4 +2533,3 @@ def test_apply_merges_symbol_table_with_routine(fortran_reader):
inline_trans.apply(routine)
# The i_1 symbol is the renamed i from the inlined call.
assert psyir.walk(Routine)[0].symbol_table.get_symbols()['i_1'] is not None

0 comments on commit 8651a19

Please sign in to comment.