From edbe8bf3bfd5081a7dd2df335f0349021dc68461 Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Mon, 25 Nov 2024 13:15:59 +0100 Subject: [PATCH] Fix Linter warning --- loki/batch/tests/test_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loki/batch/tests/test_scheduler.py b/loki/batch/tests/test_scheduler.py index fe23df8df..40977b85a 100644 --- a/loki/batch/tests/test_scheduler.py +++ b/loki/batch/tests/test_scheduler.py @@ -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"""