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 22, 2024
1 parent 2895e0c commit 8476658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loki/transformations/build_system/tests/test_file_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ def test_file_write_module_imports(frontend, tmp_path, enable_imports, import_le
else:
import_stmt = "use a_mod\n use b_mod"

module_import_stmt = ""
routine_import_stmt = ""
if import_level == 'module':
module_import_stmt = import_stmt
routine_import_stmt = ""
elif import_level == 'subroutine':
module_import_stmt = ""
routine_import_stmt = import_stmt

fcode_mod_c = f"""
Expand Down

0 comments on commit 8476658

Please sign in to comment.