Skip to content

Commit

Permalink
Fix Linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
reuterbal committed Nov 25, 2024
1 parent 8dbdafc commit edbe8bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loki/batch/tests/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2946,11 +2946,11 @@ def test_scheduler_indirect_import(frontend, tmp_path, enable_imports, import_le
end module b_mod
"""

module_import_stmt = ""
routine_import_stmt = ""
if import_level == 'module':
module_import_stmt = "use b_mod, only: type_b, global_a"
routine_import_stmt = ""
elif import_level == 'subroutine':
module_import_stmt = ""
routine_import_stmt = "use b_mod, only: type_b, global_a"

fcode_mod_c = f"""
Expand Down

0 comments on commit edbe8bf

Please sign in to comment.